localdatasus: Neighborhood-Level Data from Brazil's Unified Health System

Retrieves health data from Brazil's Unified Health System (Sistema Único de Saúde, SUS) at the neighborhood level, with 2022 Census population, rates per 10,000 inhabitants, coordinates and maps. Simple functions return deaths, live births, notifiable diseases, hospital admissions, outpatient consultations, emergency (SAMU) calls and health facilities by neighborhood, choosing the data source automatically: microdata with the patient's postal code (CEP), downloaded with the 'microdatasus' package of Saldanha, Bastos and Barcellos (2019) <doi:10.1590/0102-311x00032419>; files and open data published by health departments; and regional 'TabNet' tabulators that tabulate by neighborhood or district. Postal codes and neighborhood names are linked to the official neighborhoods of the Brazilian Institute of Geography and Statistics (IBGE) through the National Address Register for Statistical Purposes (CNEFE) and the 2022 Census tracts, with quality rules for generic postal codes. Function names, arguments, messages and documentation are in Portuguese, aimed at Brazilian health researchers.

Version: 0.2.0
Depends: R (≥ 4.1.0)
Imports: curl, data.table, jsonlite, microdatasus, stats, tools, utils
Suggests: ggplot2, knitr, leaflet, rmarkdown, sf, testthat (≥ 3.0.0)
Published: 2026-10-16
DOI: 10.32614/CRAN.package.localdatasus (may not be active yet)
Author: Hendesson Alves ORCID iD [aut, cre]
Maintainer: Hendesson Alves <hendesson124 at gmail.com>
BugReports: https://github.com/Hendesson/localdatasus/issues
License: MIT + file LICENSE
URL: https://github.com/Hendesson/localdatasus, https://hendesson.github.io/projetos/localdatasus/
NeedsCompilation: no
Language: pt-BR
Citation: localdatasus citation info
Materials: README, NEWS
CRAN checks: localdatasus results

Documentation:

Reference manual: localdatasus.html , localdatasus.pdf
Vignettes: Primeiros passos com o localdatasus (source, R code)

Downloads:

Package source: localdatasus_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=localdatasus to link to this page.

mirror server hosted at Truenetwork, Russian Federation.