View source: R/bfs_get_data_comments.R
| bfs_get_data_comments | R Documentation |
Get the comments (footnotes) of a dataset of the PXWeb API, e.g. on provisional values or changes of definition.
bfs_get_data_comments(
number_bfs,
language = "de",
query = NULL,
clean_names = FALSE,
delay = NULL
)
number_bfs |
The BFS number of a dataset, e.g.
|
language |
Language of the dataset: |
query |
Optional selection of the data: a named list with the
variable codes as names and the value codes as values (columns |
clean_names |
If |
delay |
Optional number of seconds to wait before downloading the data, to avoid "Too Many Requests" errors when calling the API in a loop. |
The PXWeb API is the API of STAT-TAB, which the BFS is replacing with the Swiss Stats Explorer.
A tibble with one row per comment. Returns NULL if there is no
internet connection.
bfs_get_data()
bfs_get_data_comments(number_bfs = "px-x-1502040100_131", language = "en")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.