Title: | Tools for the OeNB Data Web Service |
---|---|
Description: | Tools to access data from the data web service of the Oesterreichische Nationalbank (OeNB), <https://www.oenb.at/en/Statistics/User-Defined-Tables/webservice.html>. |
Authors: | Franz X. Mohr [aut, cre] |
Maintainer: | Franz X. Mohr <[email protected]> |
License: | GPL (>= 2) |
Version: | 0.0.2 |
Built: | 2024-11-03 03:04:14 UTC |
Source: | https://github.com/franzmohr/oenb |
Get potential attributes of individual series from the OeNB's data web service.
oenb_attributes(id, pos, lang = "EN")
oenb_attributes(id, pos, lang = "EN")
id |
character specifying the ID of the dataset of interest.
See |
pos |
character specifying the position ID of the indicator of interest.
See |
lang |
Preferred language of the output. Possible values are "DE" for German and "EN" for English (default). |
A data frame containing potential attributes of a series.
series_attr <- oenb_attributes(id = "11", pos = "VDBFKBSC217000") series_attr
series_attr <- oenb_attributes(id = "11", pos = "VDBFKBSC217000") series_attr
Download data sets from the OeNB's data web service https://www.oenb.at/en/Statistics/User-Defined-Tables/webservice.html.
oenb_data( id, pos, freq = NULL, attr = NULL, starttime = NULL, endtime = NULL, lang = "EN" )
oenb_data( id, pos, freq = NULL, attr = NULL, starttime = NULL, endtime = NULL, lang = "EN" )
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). |
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.
A data frame.
series <- oenb_data(id = "11", pos = "VDBFKBSC217000", freq = "M", attr = c("dval1" = "AT"), starttime = "2019-11", endtime = "2019-12") series
series <- oenb_data(id = "11", pos = "VDBFKBSC217000", freq = "M", attr = c("dval1" = "AT"), starttime = "2019-11", endtime = "2019-12") series
Downloads a description of the contents of a specific dataset from the OeNB's data web service.
oenb_dataset(id, lang = "EN")
oenb_dataset(id, lang = "EN")
id |
character specifying the ID of the dataset of interest.
See |
lang |
Preferred language of the output. Possible values are "DE" for German and "EN" for English (default). |
A data frame containing the IDs and names of available indicators within a dataset.
content <- oenb_dataset(id = "11") content
content <- oenb_dataset(id = "11") content
Get available frequencies and periods of individual series from the OeNB's data web service.
oenb_frequency(id, pos, lang = "EN")
oenb_frequency(id, pos, lang = "EN")
id |
character specifying the ID of the dataset of interest.
See |
pos |
character specifying the position ID of the indicator of interest.
See |
lang |
Preferred language of the output. Possible values are "DE" for German and "EN" for English (default). |
A data frame containing available frequencies and periods of a series.
series_freq <- oenb_frequency(id = "11", pos = "VDBFKBSC217000") series_freq
series_freq <- oenb_frequency(id = "11", pos = "VDBFKBSC217000") series_freq
Get metadata on individual series from the OeNB's data web service.
oenb_metadata(id, pos, lang = "EN")
oenb_metadata(id, pos, lang = "EN")
id |
character specifying the ID of the dataset of interest.
See |
pos |
character specifying the position ID of the indicator of interest.
See |
lang |
Preferred language of the output. Possible values are "DE" for German and "EN" for English (default). |
A data frame containing metadata on an indicator.
meta <- oenb_metadata(id = "11", pos = "VDBFKBSC217000") meta
meta <- oenb_metadata(id = "11", pos = "VDBFKBSC217000") meta
Downloads the table of contents of the OeNB's statistical data web service.
oenb_toc(lang = "EN")
oenb_toc(lang = "EN")
lang |
Preferred language of the output. Possible values are "DE" for German and "EN" for English (default). |
A data frame containing the IDs and titles of available datasets.
toc <- oenb_toc() toc
toc <- oenb_toc() toc