Package: localdatasus
Type: Package
Title: Neighborhood-Level Data from Brazil's Unified Health System
Version: 0.2.0
Authors@R: 
    person("Hendesson", "Alves", role = c("aut", "cre"),
           email = "hendesson124@gmail.com",
           comment = c(ORCID = "0009-0009-0342-9201"))
Description: 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.
URL: https://github.com/Hendesson/localdatasus,
        https://hendesson.github.io/projetos/localdatasus/
BugReports: https://github.com/Hendesson/localdatasus/issues
License: MIT + file LICENSE
Encoding: UTF-8
Language: pt-BR
Depends: R (>= 4.1.0)
Imports: curl, data.table, jsonlite, microdatasus, stats, tools, utils
Suggests: ggplot2, knitr, leaflet, rmarkdown, sf, testthat (>= 3.0.0)
VignetteBuilder: knitr
Config/testthat/edition: 3
RoxygenNote: 7.3.2
NeedsCompilation: no
Packaged: 2026-10-06 20:27:14 UTC; hendesson
Author: Hendesson Alves [aut, cre] (ORCID:
    <https://orcid.org/0009-0009-0342-9201>)
Maintainer: Hendesson Alves <hendesson124@gmail.com>
Repository: CRAN
Date/Publication: 2026-10-16 12:50:13 UTC
Built: R 4.5.2; ; 2026-10-16 13:43:50 UTC; unix
