getDataGroup: Downloading data groups

Description Usage Arguments Value Examples

Description

Downloads all data series of a data group

Usage

1
2
getDataGroup(group, CBRTKey = myCBRTKey, freq,
  startDate = "01-01-1950", endDate, na.rm = T)

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:

1

Day

2

Work day

3

Week

4

Biweekly

5

Month

6

Quarter

7

Six months

8

Year

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).

na.rm

Logical variable to drop all missing dates.

Value

a data.table object

Examples

1
2
3
4
## Not run: 
myData <- getDataGroup("bie_dbafod")

## End(Not run)

etaymaz/CBRT documentation built on May 24, 2019, 8:51 a.m.