Movatterモバイル変換


[0]ホーム

URL:


Tutorial / vignette for the oenb R package

Introduction

Theoenb R packages provides tools to access statistical data via theweb 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 functionoenb_toc. Its output contains the ID of the data set with a short description.

toc <-oenb_toc()head(toc)

Dataset overview

Each data set contains a series of indicators. The functionoenb_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)

Attributes of a series

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

attrib <-oenb_attributes(id ="11",pos ="VDBFKBSC217000")attrib

Furthermore, series are available in different frequencies. The functionoenb_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

Data download

Series of a data set can be downloaded with theoenb_data function.

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

Metadata

Metadata on a specific series can be obtained with the functionoenb_metadata.

meta <-oenb_metadata(id ="11",pos ="VDBFKBSC217000")meta

[8]ページ先頭

©2009-2025 Movatter.jp