| bfs_sse_datasets | R Documentation |
List the datasets (dataflows) of the Swiss Stats Explorer (SSE) API
(https://stats.swiss/), to find the id of a dataset for
bfs_sse_dimensions() and bfs_sse_data().
bfs_sse_datasets(language = "de")
language |
Language of the names: |
A tibble with one row per version of each dataset, the latest version first:
The id of the dataset, e.g. "DF_LWZ_1".
The name of the dataset.
The version of the dataset.
The agency publishing the dataset.
The description of the dataset version, or NA, as
given by the API: it can contain HTML tags such as <br>.
Returns NULL if there is no internet connection.
Felix Luginbuhl
bfs_sse_dimensions(), bfs_sse_data()
datasets <- bfs_sse_datasets(language = "en")
datasets
# datasets about tourism, in their name or description
datasets[grepl("touris", paste(datasets$name, datasets$description), ignore.case = TRUE), ]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.