bbk 0.4.0 R Package API Client for Bundesbank and ECB Reference Manual

Reference manual for the R package bbk 0.4.0, whose functions download data and metadata from the Deutsche Bundesbank and European Central Bank SDMX APIs.


bbk 0.4.0 R Package API Client for Bundesbank and ECB Reference Manual - cover page
Brand
BBK
Category
Other software
Document type
Programming Manual
Language
English
Pages
8
File format
PDF
File size
96 KB
Published
10 November, 2026
Updated
10 November, 2026
MD5 checksum
1F575064FBD87954EA98F561C39FEE44

About this manual

The bbk package, version 0.4.0, is an R package that downloads data and metadata from the 'Bundesbank SDMX Web Service API' and the 'ECB Data Portal API'. It is published on CRAN under the MIT license, depends on R (>= 4.1.0), imports httr2, stats, utils and xml2, and is maintained by Maximilian Muecke.

This manual documents the package's five functions. bbk_data() returns Bundesbank data for a given flow and key with optional start_period, end_period, first_n and last_n arguments, and bbk_series() returns the Bundesbank time series found with a specified key. ecb_data() does the same for ECB data. bbk_metadata() and ecb_metadata() retrieve metadata of type "datastructure", "dataflow", "codelist" or "concept" from the respective SDMX Web Service APIs.

What's inside

  • Package description and dependencies
  • bbk_data
  • bbk_metadata
  • bbk_series
  • ecb_data
  • ecb_metadata

Specifications

Version0.4.0
LicenseMIT + file LICENSE
R version requiredR (>= 4.1.0)
Importshttr2, stats, utils, xml2
Suggestsggplot2, scales, testthat (>= 3.0.0), tibble
EncodingUTF-8
Needs compilationno
RepositoryCRAN (Date/Publication 2024-07-08)

Frequently asked questions

Which R version does the bbk package require?

It depends on R (>= 4.1.0).

What date formats do start_period and end_period accept?

Annual YYYY, semi-annual YYYY-S[1-2], quarterly YYYY-Q[1-4], monthly YYYY-MM, weekly YYYY-W[01-53] and daily or business YYYY-MM-DD. If left NULL, no start or end date restriction is applied.

What types of metadata can be queried?

bbk_metadata() and ecb_metadata() query one of "datastructure", "dataflow", "codelist" or "concept".

What does bbk_series() return?

It returns the Bundesbank time series found with the specified time series key, as a data.frame.

Download PDF (96 KB)

More BBK Manuals


View all BBK manuals →