Package: datasus
Type: Package
Title: An Interface to Brazilian Public Health Data
Version: 0.16.1
Authors@R: person("Renato", "Prado Siqueira", email = "rpradosiqueira@gmail.com", role = c("aut", "cre"))
Description: Retrieves public health data from the Department of Informatics
    ('DATASUS') of the Brazilian Unified Health System ('Sistema Unico de
    Saude', 'SUS') through its online tabulation service and open-data catalog.
    It covers the Mortality Information System ('SIM'), Live Birth Information
    System ('SINASC'), Hospital Information System of the Unified Health System
    ('SIH/SUS'), Outpatient Information System of the Unified Health System
    ('SIA/SUS'), National Register of Health Establishments ('CNES'),
    Notifiable Diseases Information System ('SINAN'), National Immunization
    Program ('PNI'), Cancer Information System ('SISCAN'), and Food and
    Nutrition Surveillance System ('SISVAN'). Contemporary sources from the
    'OpenDataSUS' portal include Events Supposedly Attributable to Vaccination
    or Immunization ('ESAVI'), influenza-like illness notifications from
    'e-SUS Notifica', individual vaccination doses, coronavirus disease 2019
    (COVID-19) hospital occupancy, and record-level mortality, live-birth and
    hospital-admission microdata. Curated schemas, selective columns,
    multipart downloads and chunk processing support memory-efficient
    analysis of large files. The package also provides grouped epidemiological
    indicators, confidence intervals, population-denominator joins,
    epidemiological calendars, moving averages and direct age standardization.
    An offline reference from the Brazilian Institute of Geography and
    Statistics (IBGE) supports territorial codes, joins and completion of
    geographic time series.
License: GPL-3
Encoding: UTF-8
URL: https://github.com/rpradosiqueira/datasus
BugReports: https://github.com/rpradosiqueira/datasus/issues
Depends: R (>= 4.1.0)
Imports: datasusr (>= 0.1.0), httr2, jsonlite, readr, rvest, stringi,
        xml2
Suggests: foreign, knitr, rmarkdown, testthat (>= 3.0.0)
VignetteBuilder: knitr
Config/testthat/edition: 3
RoxygenNote: 8.0.0
NeedsCompilation: no
Packaged: 2026-08-24 11:54:01 UTC; renat
Author: Renato Prado Siqueira [aut, cre]
Maintainer: Renato Prado Siqueira <rpradosiqueira@gmail.com>
Repository: CRAN
Date/Publication: 2026-09-05 13:10:02 UTC
