getGADS | R Documentation |
Extracts variables from a GADS data base. Only the specified variables are extracted. Note that this selection determines the format of
the data.frame
that is extracted.
getGADS(vSelect = NULL, filePath)
vSelect |
Character vector of variable names. |
filePath |
Path of the existing |
See createDB
and dbPull
for further explanation of the query and merging processes.
Returns a GADSdat
object.
# Use data base within package
db_path <- system.file("extdata", "pisa.db", package = "eatGADS")
pisa_gads <- getGADS(db_path, vSelect = c("schtype", "sameteach"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.