MyNixOS website logo
Description

Tools for the OeNB Data Web Service.

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

oenb

CRANstatus Travis buildstatus

The oenb R package provides tools to access statistical data via the web service of the Austrian central bank (Oesterreichische Nationalbank, OeNB).

Installation

install.packages("oenb") 

Development version

# install.packages("devtools")
devtools::install_github("franzmohr/oenb")

Usage

library("oenb")

Table of contents

A table of available data sets can be obtained with the function oenb_toc. Its output contains the ID of the data set with a short description.

toc <- oenb_toc()
head(toc)
#>   dataset_id                                              description
#> 1          1                 OeNB, Eurosystem and Monetary Indicators
#> 2         11 Balance Sheet Items of the Oesterreichische Nationalbank
#> 3         13      Monetary Aggregates, Consolidated MFI Balance Sheet
#> 4         14             Debt Instruments, Deposits and Loans of MFIs
#> 5  100140001                                     Development of loans
#> 6  100140002             Debt Instruments, Deposits and Loans of MFIs

Dataset overview

Each data set contains a series of indicators. The function oenb_dataset can be used to obtain a table of available series for a given data set. Its output contains the position code of a series and a short description.

overview <- oenb_dataset(id = "11")
head(overview)
#>    position_code
#> 1 VDBFKBSC217000
#> 2 VDBFKBSC217001
#> 3 VDBFKBSC217013
#> 4 VDBFKBSC217010
#> 5 VDBFKBSC317000
#> 6 VDBFKBSC317001
#>                                                                      description
#> 1                                           Loans to euro area residents - total
#> 2                                            Loans to euro area residents - MFIs
#> 3                              Loans to euro area residents - general government
#> 4                                             Loans to other euro area residents
#> 5 Holdings of securities other than shares issued by euro area residents - total
#> 6   Collected within the framework of the balance sheet report to the ECB  MFIs.

Attributes of a series

Many series are available in different forms. The function oenb_attributes obtains a table of available query specifications of a given series.

attrib <- oenb_attributes(id = "11", pos = "VDBFKBSC217000")
attrib
#>   attribute_code                 attribute value_code
#> 1          dval1             Data producer         AT
#> 2          dval2            Banking sector    00100KI
#> 3          dval3 Region / business partner         AT
#> 4          dval4                  Currency        Z0Z
#>                           value
#> 1                       Austria
#> 2 Oesterreichische Nationalbank
#> 3                       Austria
#> 4                Not applicable

Furthermore, series are available in different frequencies. The function oenb_frequency can be used to obtain the available frequencies of a given series and the periods, for which data are available.

freq <- oenb_frequency(id = "11", pos = "VDBFKBSC217000")
freq
#>   frequency    available_period
#> 1         A         1998 - 2019
#> 2         M Jan.  98 - Jan.  20

Data download

Series of a data set can be downloaded with the oenb_data function.

series <- oenb_data(id = "11", pos = "VDBFKBSC217000", attr = c("dval3" = "AT"))

Metadata

Metadata on a specific series can be obtained with the function oenb_metadata.

meta <- oenb_metadata(id = "11", pos = "VDBFKBSC217000")
meta
#>         attribute
#> 1           title
#> 2          region
#> 3            unit
#> 4         comment
#> 5  classification
#> 6          breaks
#> 7       frequency
#> 8     last_update
#> 9          source
#> 10            lag
#>                                                                                                    description
#> 1                                                                         Loans to euro area residents - total
#> 2                                                                                                            -
#> 3                                                                                                         Euro
#> 4  Collected within the framework of the balance sheet report to the ECB  loans to euro area residents  total.
#> 5                                                                          European Sytem of National Accounts
#> 6                                                                                                            -
#> 7                                                                                                        month
#> 8                                                                                          2020-02-14 09:02:32
#> 9                                                                                                         OeNB
#> 10                                                                                                           -
Metadata

Version

0.0.2

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows