I have to make dynamic variable which store different value as given in pseudo code
for(i in 1:30)
"Day"+i <- sqldf("select * from call_details where day ="+i)
Is it possible in R or not and if possible then how? I just able to concat the string (using paste) which store the concated string as character but couldn't able to store value on it. Also I could not able to find out how to pass variable on sql query statement.