Get a dataset using the PXWEB API v1. You should choose either the BFS number (FSO number) of the BFS offical url of a given dataset. You can query particulary variables using the `query` argument.
bfs_get_data(
  number_bfs,
  language = "de",
  query = NULL,
  column_name_type = "text",
  variable_value_type = "text",
  clean_names = FALSE,
  delay = NULL
)A tbl_df (a type of data frame; see tibble or dplyr packages). Returns NULL if no connection.
The BFS number (FSO number) of a dataset.
Language of the dataset to be translated if exists, i.e. "de", "fr", "it" or "en".
A list with named values, a json query file or json query string using pxweb::pxweb_query().
Column name type as "text" or as "code".
Variable value type as "text" or as "code".
Clean column names using janitor::clean_names().
Integer Number of seconds to wait before query using Sys.sleep().
bfs_get_data_comments