I have a sample drawn with the strata function in package sampling and would like further information about the sampled object's, in an SQL database. I have tried both RODBC and odbc packages without any smooth soloution.
example:
test<-sqlQuery("con", paste("select * from table",
"where table.ID=df.ID"))
What is the appropriate method without having to write a new table in the database?