A database helper function copied from the 'survey' package
getvars(
formula,
dbconnection,
tables,
db.only = TRUE,
updates = NULL,
subset = NULL
)
A data frame
Either a formula or a character vector giving names of variables
A database connection
Name(s) of table(s) to pull from
Unclear parameter inherited from the 'survey' package
Updates to potentially make
Optional indices of data to subset when returning result