• Minor changes
    • Moved {arrow} package back to Imports
  • New data set and files included in this version:
    • 2022 census
      • Preliminary aggregate results of census tracts
  • Minor changes
    • Moved {arrow} package from Imports to Suggests while the {arrow} team fixes their conflict with CRAN policies related to downloading binary software. See here.
  • New package contributors:
    • Diego Rabatone Oliveira
    • Neal Richardson
  • Major changes
    • The questionnaire() function now accepts questionnaires of type: "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.
  • Minor changes
    • Replaced .onAttach by .onLoad so that the package works with censobr::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
  • 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.
  • 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 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.
  • Minor changes
    • Running censobr_cache(delete_file = 'all') now removes all data and directories related from censobr.
    • censobr now uses suggested package {geobr} conditionally
  • 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]
  • Minor changes
    • Using cache_dir and data_release as global variables. Closes #13
    • Running censobr_cache(delete_file = 'all')now also remove data from old data releases. Closes #14.
    • Large improvement in code coverage
  • 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 previous data releases that might exist from previous versions of the package
    • Clean cache after intro vignette and testhat checks
  • Launch of censobr v0.1.0 on CRAN https://cran.r-project.org/package=censobr
  • All data sets are now enriched with geography columns following {geobr} name standards. This should help data manipulation and integration with spatial data from the {geobr} package. The added columns are: c(‘code_muni’, ‘code_state’, ‘abbrev_state’, ‘name_state’, ‘code_region’, ‘name_region’, ‘code_weighting’). Closes #5.
  • Data included in this version:
    • 2000 Census
      • Microdata of population, households and families.
    • 2010 Census
      • Microdata of population, households, deaths and emigration.