Get variables from a database
A database helper function copied from the 'survey' package
getvars( formula, dbconnection, tables, db.only = TRUE, updates = NULL, subset = NULL )
formula
: Either a formula or a character vector giving names of variablesdbconnection
: A database connectiontables
: Name(s) of table(s) to pull fromdb.only
: Unclear parameter inherited from the 'survey' packageupdates
: Updates to potentially makesubset
: Optional indices of data to subset when returning resultA data frame
Useful links