Open on a browser the data dictionary of Brazil's census data.
Arguments
- year
Numeric. Year of reference in the format
yyyy.- dataset
Character. The dataset of data dictionary to be opened. Options include
c("population", "households", "families", "mortality", "emigration", "tracts").- showProgress
Logical. Defaults to
TRUEdisplay download progress bar. The progress bar only reflects only the downloading time, not the time to load the data to memory.- cache
Logical. Whether the function should read the data cached locally, which is much faster. Defaults to
TRUE. The first time the user runs the function,censobrwill download the file and store it locally so that the file only needs to be download once. IfFALSE, the function will download the data again and overwrite the local file.- verbose
A logical. Whether the function should print informative messages. Defaults to
TRUE.
See also
Other Census documentation:
interview_manual()
Examples
# Open data dictionary
data_dictionary(year = 2010,
dataset = 'population',
showProgress = FALSE)
#> ℹ Downloading data and storing it locally for future use.
#> NULL
data_dictionary(year = 2022,
dataset = 'tracts',
showProgress = FALSE)
#> ℹ Downloading data and storing it locally for future use.
#> NULL
data_dictionary(year = 1980,
dataset = 'households',
showProgress = FALSE)
#> ℹ Downloading data and storing it locally for future use.
#> NULL
