Learn R Programming

bbk (version 0.11.0)

snb_toc: Fetch Swiss National Bank (SNB) table of contents

Description

Retrieve the publication topic tree from the SNB data portal, listing the cubes and charts available under each topic.

Usage

snb_toc(lang = "en")

Value

A data.table::data.table() with one row per topic node and columns:

topic_id

The top-level topic id

topic

The top-level topic title

sub_topic

The sub-topic title

cube_id

The associated cube id (if any)

chart_id

The associated chart id (if any)

doc_id

The associated documentation id (if any)

Arguments

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_metadata(), srb_calendar(), srb_series()

Examples

Run this code
# \donttest{
snb_toc()
# }

Run the code above in your browser using DataLab