I have some query like this:
sqldf("select TenScore from data where State_P = 'AndhraPradesh'")
But I have "AndhraPradesh" in a variable stateValue. How can I use this variable in a select query in R to get the same result as above.
Please show me the syntax.
You can use
sprintf: