Displaying 1 result from an estimated 1 matches for "mydfrm".
Did you mean:
mydfr
2013 Jan 14
1
sqldf package: using variables in where condition
...the sqldf package to create independent data frames from a
> master dataframe.
> I want to use sqldf package and perform a simple select statement. However,
> what I want to do is to create a loop and repeatedly send a variable to the
> where clause condition such as a: select * from mydfrm where Symbol =
> list[i]
> The 'list' is another data frame with a single column with 15 values. All I
> what to do is to create loop for i in 1:15 and pass on into the select
> statement as list[1], list[2 }..tile list[15]
>
> Can someone help since, I am unable to refe...