Releases: ipeaGIT/censobr
Releases · ipeaGIT/censobr
v0.4.0
censobr v0.4.0
-
Major changes
- Some functions (
read_mortality
,read_emigration
) now include a new parametermerge_households
(logical) to indicate whether the function should merge household variables to the output data. Partially closes #31 - {censobr} now imports the {duckplyr} package, which is used for merging household data. Closes issue #31.
- New vignette showing how to work with larger-than-memory data. Closes #42. The vignette still needs to be expanded with more examples, though.
- Some functions (
-
Minor changes
- Updated Vignettes Closes issue #51
- Removed dependency on the {httr} package
- Now using
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:
# censobr v0.3.2
-
Minor changes
- Moved {arrow} package back to
Imports
- Moved {arrow} package back to
-
New data set and files included in this version:
- 2022 census
- Preliminary aggregate results of census tracts
- 2022 census
v0.3.1
v0.3.0
censobr v0.3.0
-
Major changes
- The
questionnaire()
function now accepts questionnaires oftype
:"long"
or"short"
. - Updated census tract data following latest update by IBGE on Oct/2023. Closed #38. As a result, the package moved to data release v0.3.0.
- The
-
Minor changes
- Replaced
.onAttach
by.onLoad
so that the package works withcensobr::function()
- Fixed documentation of various functions.
- Fixed issue to make sure censobr uses suggested packages conditionally on CRAN
- Fixed message when user requests a data set / file for a year that is not available
- Replaced
-
New data set and files included in this version:
- 2022 census [New]
- Questionnaires and interview manuals
- Short questionnaires for every census between 1960 and 2022.
- Long questionnaire for the 1960 and 2022 censuses.
- 2022 census [New]
v0.2.0
-
Major changes
- New function
read_tracts()
to read Census tract-level aggregate data. - New function
data_dictionary()
opens on a browser the data dictionary of Brazil's census data. - New function
questionnaire()
opens on a browser the questionnaire used in the data collection of Brazil's censuses. - New function
interview_manual()
opens on a browser the interview manual of the data collection of Brazil's censuses.- New function
set_censobr_cache_dir()
that allows users to set custom directory for caching files from the censobr package.
- New function
- New data sets of 1970, 1980 and 1991 censuses: microdata of population and households PLUS Census tract-level aggregate data for 2010. Closes #6, #7, #8 and 1#8
- New vignette on Census tract-level aggregate data for 2010.
- New vignette covering functions about census documentation and dictionary of variables. Closes #2.
- New function
-
Minor changes
- Running
censobr_cache(delete_file = 'all')
now removes all data and directories related from censobr. - censobr now uses suggested package {geobr} conditionally
- Running
-
Data included in this version:
- 1970 census [New]
- Microdata of population, households
- 1980 census [New]
- Microdata of population, households
- 1991 census [New]
- Microdata of population, households
- 2000 Census
- Microdata of population, households and families.
- 2010 Census
- Microdata of population, households, deaths and emigration.
- Census tract-level aggregate data [New]
- 1970 census [New]
Documents and manuals
Permanent release with:
- data dictionary
- questionnaires
- interviewer's manual
v.0.1.1
-
Minor changes
-
Changes requested by CRAN team
- Changed location of cached data to directory inside tools::R_user_dir("censobr", which = "cache").
- The package now automatically deletes cached data from older releases releases that might exist from previous versions of the package
- Clean cache after intro vignette and testhat checks
v0.1.0
Data release