bfs_get_data_comments: Get the comments/footnotes of a BFS dataset in a given...

View source: R/bfs_get_data_comments.R

bfs_get_data_commentsR Documentation

Get the comments/footnotes of a BFS dataset in a given language

Description

Get the comments/footnotes of a BFS dataset using PXWEB BFS API v1.

Usage

bfs_get_data_comments(
  number_bfs = NULL,
  language = "de",
  url_bfs = NULL,
  query = NULL,
  clean_names = FALSE
)

Arguments

number_bfs

The BFS number of a dataset.

language

Language of the dataset to be translated if exists, i.e. "de", "fr", "it" or "en".

url_bfs

The URL page of a dataset.

query

a list with named values, a json query file or json query string using pxweb::pxweb_query().

clean_names

Clean column names using janitor::clean_names()

Value

A tbl_df (a type of data frame; see tibble or dplyr packages).

See Also

bfs_get_data


BFS documentation built on Sept. 20, 2023, 5:07 p.m.