get_data: Retrieve data from the ECB Statistical Data Warehouse API

Description Usage Arguments Details Value Examples

View source: R/main.R

Description

Retrieve data from the ECB Statistical Data Warehouse API

Usage

1

Arguments

key

A character string identifying the series to be retrieved

filter

A named list with additional filters (see details)

...

Arguments passed to GET (e.g. timeout(10) to add maximum request time)

Details

The filter option of get_data() takes a named list of key-value pairs. If left blank, it returns all data for the current version.

Available filter parameters:

See the SDW API for more details.

Value

A data frame

Examples

1
2
3
# Get monthly data on annualized euro area headline HICP
hicp <- get_data("ICP.M.U2.N.000000.4.ANR")
head(hicp)

expersso/ecb documentation built on April 8, 2021, 2:03 p.m.