cnefetools: Access and Analysis of Brazilian CNEFE Address Data

Download, cache and read municipality-level address data from the Cadastro Nacional de Enderecos para Fins Estatisticos (CNEFE) of the 2022 Brazilian Census, published by the Instituto Brasileiro de Geografia e Estatistica (IBGE) <https://ftp.ibge.gov.br/Cadastro_Nacional_de_Enderecos_para_Fins_Estatisticos/>. Beyond data access, provides spatial aggregation of addresses, computation of land-use mix indices, and dasymetric interpolation of census tract variables using CNEFE dwelling points as ancillary data. Results can be produced on 'H3' hexagonal grids or user-supplied polygons, and heavy operations leverage a 'DuckDB' backend with extensions for fast, in-process execution.

Version: 0.2.0
Depends: R (≥ 4.1.0)
Imports: arrow, dplyr, sf, geobr, lifecycle, rlang, h3jsr, tidyr, DBI, duckdb, duckspatial, cli (≥ 3.6.0), checkmate, fs, httr2, piggyback
Suggests: ggplot2, kableExtra, knitr, leafsync, mapview, odbr, rmarkdown, scales, testthat (≥ 3.0.0), zip
Published: 2026-02-11
DOI: 10.32614/CRAN.package.cnefetools (may not be active yet)
Author: Jorge Ubirajara Pedreira Junior ORCID iD [aut, cre, cph], Bruno Mioto [aut], Kaio Cunha Pedreira [ctb]
Maintainer: Jorge Ubirajara Pedreira Junior <jorge.ubirajara at ufba.br>
BugReports: https://github.com/pedreirajr/cnefetools/issues
License: MIT + file LICENSE
URL: https://github.com/pedreirajr/cnefetools, https://pedreirajr.github.io/cnefetools/
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: cnefetools results

Documentation:

Reference manual: cnefetools.html , cnefetools.pdf

Downloads:

Package source: cnefetools_0.2.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=cnefetools to link to this page.