Package: censobr 1.0.0

Rafael H. M. Pereira

censobr: Download Data from Brazil's Population Census

Easy access to data from Brazil's population censuses. The package provides a simple and efficient way to download and read the data sets and the documentation of all the population censuses taken in and after 1960 in the country. The package is built on top of the 'Arrow' platform <https://arrow.apache.org/docs/r/>, which allows users to work with larger-than-memory census data using 'dplyr' familiar functions. <https://arrow.apache.org/docs/r/articles/arrow.html#analyzing-arrow-data-with-dplyr>.

Authors:Rafael H. M. Pereira [aut, cre], Rogério J. Barbosa [aut], Pedro Herculano Souza [ctb], Diego Rabatone Oliveira [ctb], Neal Richardson [ctb], Haydee Svab [ctb], Ipea - Institute for Applied Economic Research [cph, fnd]

censobr_1.0.0.tar.gz
censobr_1.0.0.zip(r-4.7-any)censobr_1.0.0.zip(r-4.6-any)censobr_1.0.0.zip(r-4.5-any)
censobr_1.0.0.tgz(r-4.6-any)censobr_1.0.0.tgz(r-4.5-any)
censobr_1.0.0.tar.gz(r-4.7-any)censobr_1.0.0.tar.gz(r-4.6-any)
censobr_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
censobr/json (API)

# Install 'censobr' in R:
install.packages('censobr', repos = c('https://ipeagit.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/ipea/censobr/issues

Pkgdown/docs site:https://ipea.github.io

On CRAN:

Conda:

brazilcensuscensus-datamicrodadosmicrodata

7.07 score 61 stars 1.4k downloads 13 exports 31 dependencies

Last updated from:602f4c9ecb. Checks:9 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-develOK142
source / vignettesOK197
linux-releaseOK150
macos-releaseOK126
macos-oldrelOK1960
windows-develOK83
windows-releaseOK90
windows-oldrelOK135
wasm-releaseOK123

Exports:censobr_cachedata_dictionaryget_censobr_cache_dirimport_microdata22interview_manualquestionnaireread_emigrationread_familiesread_householdsread_mortalityread_populationread_tractsset_censobr_cache_dir

Dependencies:arrowaskpassassertthatbackportsbitbit64checkmateclicpp11curlDBIdplyrduckdbfsgenericsgluehttr2lifecyclemagrittropensslpillarpkgconfigpurrrR6rlangsystibbletidyselectutf8vctrswithr

Census documentation
Data Dictionary | Questionnaires | Interview manual

Last update: 2026-09-19
Started: 2023-09-26

Introduction to censobr
Installation | Basic usage | Larger-than-memory Data | Reproducible examples | Using Population data: | Using household data: | Sewage coverage: | Spatial distribution of rents: | Data cache

Last update: 2026-09-19
Started: 2023-09-02

Working with 2022 microdata
Why the 2022 census is different | Step 1. Get the data from IBGE | Step 2. Import it | Keep the original zip file

Last update: 2026-09-19
Started: 2026-09-02

Census tract-level data
Data structure | Dictionary of variables | Reproducible examples | Example 1: | Example 2: Spatial distribution of income

Last update: 2026-09-16
Started: 2023-09-26

Working with larger-than-memory data
Larger-than-memory Data | 1. | 2. | 2.1 Combining | 2.2 Using {duckdb} with SQL

Last update: 2025-06-30
Started: 2024-05-11