Minor changes
data_dictionary() now does not open the file when
verbose = FALSE. Closes 72Data fixes included in this version:
New data set and files included in this version:
Major changes
get_censobr_cache_dir()set_censobr_cache_dir() now sets cache directories that persist across R sessions. Closes #55. The data is saved in versioned directory inside the cache directory.year parameter no longer defaults to 2010.verbose (logical) indicating whether functions should print messsagesMinor changes
merge_households = TRUE to avoid duplicated columnsNew data set and files included in this version:
.parquet compressed using compression='zstd' and compression_level = 22. This has almost halved the size of data files, making downloads much more efficient at minimal cost of reading time.Minor changes
bug fixes
merge_households = TRUE now returns the expected result.Major changes
read_mortality, read_emigration) now include a new parameter merge_households (logical) to indicate whether the function should merge household variables to the output data. Partially closes #31Minor changes
curl::multi_download() to download files in parallel. This brings the advantage that the package now automatically detects whether the data/documentation file has been updated and should be downloaded again.Changes to data sets and files included in this version:
New data set and files included in this version:
Minor changes
ImportsNew data set and files included in this version:
Imports to Suggests while the {arrow} team fixes their conflict with CRAN policies related to downloading binary software. See here.Major changes
questionnaire() function now accepts questionnaires of type: "long" or "short".Minor changes
.onAttach by .onLoad so that the package works with censobr::function()New data set and files included in this version:
Major changes
read_tracts() to read Census tract-level aggregate data.data_dictionary() opens on a browser the data dictionary of Brazil's census data.questionnaire() opens on a browser the questionnaire used in the data collection of Brazil's censuses.interview_manual() opens on a browser the interview manual of the data collection of Brazil's censuses.
set_censobr_cache_dir() that allows users to set custom directory for caching files from the censobr package.Minor changes
censobr_cache(delete_file = 'all') now removes all data and directories related from censobr.Data included in this version:
Minor changes
Changes requested by CRAN team