Learn R Programming

eatGADS (version 1.1.1)

getGADS: Get data from GADS data base.

Description

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.

Usage

getGADS(vSelect = NULL, filePath)

Value

Returns a GADSdat object.

Arguments

vSelect

Character vector of variable names.

filePath

Path of the existing eatGADS data base file.

Details

See createDB and dbPull for further explanation of the query and merging processes.

Examples

Run this code
# Use data base within package
db_path <- system.file("extdata", "pisa.db", package = "eatGADS")
pisa_gads <- getGADS(db_path, vSelect = c("schtype", "sameteach"))

Run the code above in your browser using DataLab