Learn R Programming

bbk (version 0.11.0)

snb_metadata: Fetch Swiss National Bank (SNB) cube metadata

Description

Retrieve cube-level metadata (title, frequency, source, publication date) from the SNB data portal.

Usage

snb_metadata(key, lang = "en")

Value

A single-row data.table::data.table() with columns:

key

The cube key

title

The cube title

sub_title

The cube subtitle

publishing_title

The publishing section title

public_since_date

The first publication date

frequency

The frequency specification (e.g., "Day", "Month")

source

The data source

has_multiple_sources

Whether the cube has multiple sources

Arguments

key

(character(1))
The series key to query.

lang

(character(1))
Language to query, either "en" or "de". Default "en".

See Also

Other metadata: bbk_dimension(), bbk_metadata(), bdf_dimension(), bdp_dataset(), bdp_dimension(), bdp_domain(), bdp_series(), bis_dimension(), bis_metadata(), boj_metadata(), cnb_dimension(), cnb_indicators(), cnb_snapshots(), cnb_tree(), ecb_dimension(), ecb_metadata(), nob_dimension(), nob_metadata(), onb_dimension(), onb_frequency(), onb_hierarchy(), onb_metadata(), onb_toc(), snb_dimension(), snb_toc(), srb_calendar(), srb_series()

Examples

Run this code
# \donttest{
snb_metadata("rendopar")
# }

Run the code above in your browser using DataLab