datasus - An Interface to Brazilian Public Health Data
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.