getDataGroup {CBRT} | R Documentation |
Downloading data groups
Description
Downloads all data series of a data group
Usage
getDataGroup(
group,
CBRTKey = myCBRTKey,
freq,
startDate = "01-01-1950",
endDate,
na.rm = TRUE,
verbose = TRUE
)
Arguments
group |
Code for the data group. |
CBRTKey |
Your personal CBRT access key. |
freq |
Numeric, the frequency of the data series. If not defined, the default (the highest possible frequency) will be used. The frequencies are as follows:
If a frequency level lower than the default is used, the data will be aggregated by using the default method for that data group (for example, if monthly data are download for weekly series). |
startDate |
The beginning date for data series (DD-MM-YYYY). |
endDate |
The ending date for data series (DD-MM-YYYY). If not defined, the default (the latest available) will be used. |
na.rm |
Logical variable to drop all missing dates. |
verbose |
TRUE turns on status and information messages to the console. |
Value
a data.table object
Examples
## Not run:
myData <- getDataGroup("bie_dbafod")
## End(Not run)