Extracts variables from multiple eatGADS
data bases.
Data can then be extracted from the GADSdat
object via
extractData
. For extracting meta data from a data base or a GADSdat
object see extractMeta
. To speed
up the data loading, getGADS_fast
is used per default.
getTrendGADS(
filePaths,
vSelect = NULL,
years,
fast = TRUE,
tempPath = tempdir(),
verbose = TRUE
)
Returns a GADSdat
object.
Character vectors with paths to the eatGADS
db files.
Variables from all GADS to be selected (as character vector).
A numeric vector with identical length as filePaths
.
Should getGADS_fast
be used for data loading instead of getGADS
? Using the default is heavily recommended.
The directory, in which both GADS will be temporarily stored. Using the default is heavily recommended.
Should the loading process be reported?
This function extracts data from multiple GADS data bases. All data bases have to be created via
createGADS
. The data bases are joined via rbind()
and a variable year
is added, corresponding to the
argument years
. The GADSdat
object can then further
be used via extractData
. See createDB
and dbPull
for further explanation
of the querying and merging processes.