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

View source: R/snb.R

snb_tocR Documentation

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")

Arguments

lang

(character(1))
Language to query, either "en" or "de". Default "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)

Source

https://data.snb.ch/en

See Also

Other metadata: banxico_metadata(), bbk_dimension(), bbk_metadata(), bcb_currencies(), bdf_dimension(), bdp_dataset(), bdp_dimension(), bdp_domain(), bdp_series(), bis_dimension(), bis_metadata(), boi_dimension(), boi_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



snb_toc()



bbk documentation built on Aug. 28, 2026, 5:07 p.m.