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
[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:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=localdatasus
to link to this page.