oenb_data {oenb} | R Documentation |
Download OeNB Data
Description
Download data sets from the OeNB's data web service https://www.oenb.at/en/Statistics/User-Defined-Tables/webservice.html.
Usage
oenb_data(
id,
pos,
freq = NULL,
attr = NULL,
starttime = NULL,
endtime = NULL,
lang = "EN"
)
Arguments
id |
character specifying the ID of the dataset of interest.
See |
pos |
character vector specifying the position IDs of the indicators of interest.
See |
freq |
Frequency of the data. Where available, possible values are
|
attr |
A named vector of further attributes.
See |
starttime |
character specifying the start of the series. See 'Details'. |
endtime |
character specifying the end of the series. See 'Details'. |
lang |
Preferred language of the output. Possible values are "DE" for German and "EN" for English (default). |
Details
The arguments 'starttime' and 'endtime' can have the format 'YYYY-MM-DD' or 'YYYYMMDD' for daily data, 'YYYY-MM' or 'YYYYMM' for monthly data, and 'YYYY' for annual data. For semiannual data 'YYYY-06' refers to the first half of year 'YYYY' and 'YYYY-12' to the second. Similarly, for quarterly data 'YYYY-03', 'YYYY-06', 'YYYY-09' and 'YYYY-12' refer to the first, second, third and forth quarter of year 'YYYY', respectively.
Value
A data frame.
Examples
series <- oenb_data(id = "11", pos = "VDBFKBSC217000", freq = "M", attr = c("dval1" = "AT"),
starttime = "2019-11", endtime = "2019-12")
series