microdatasus-package: microdatasus: Download and prepare DataSUS microdata

microdatasus-packageR Documentation

microdatasus: Download and prepare DataSUS microdata

Description

Provides a reproducible workflow for DataSUS microdata: fetch_datasus() discovers, downloads, and combines published DBC files; read_dbc() reads a local DBC file; and the ⁠process_*()⁠ functions convert system-specific fields into analysis-ready values and labels.

Details

Start with fetch_datasus() and then use the processor corresponding to the selected system, such as process_sim(), process_sinasc(), process_sih(), process_sia(), process_cnes(), or one of the ⁠process_sinan_*()⁠ functions. fetch_cadger() and fetch_sigtab() retrieve current auxiliary tables used by CNES and SIA processing.

For concepts, coverage, data flows, and caveats of each Brazilian health information system, see Saldanha (2026), Sistemas de Informação em Saúde no Brasil.

Author(s)

Maintainer: Raphael Saldanha raphael.saldanha@fiocruz.br (ORCID)

Authors:

Other contributors:

  • Sidney da Silva Pereira Bissoli (DBC decompression code) [contributor, copyright holder]

  • Mark Adler (blast decompressor) [contributor, copyright holder]

See Also

Useful links:


microdatasus documentation built on July 29, 2026, 5:08 p.m.