microdatasus: Download and prepare DataSUS microdata
Source:R/microdatasus.R
microdatasus-package.RdProvides 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
Maintainer: Raphael Saldanha raphael.saldanha@fiocruz.br (ORCID)
Authors:
Raphael Saldanha raphael.saldanha@fiocruz.br (ORCID)
Other contributors:
Sidney da Silva Pereira Bissoli (DBC decompression code) [contributor, copyright holder]
Mark Adler (blast decompressor) [contributor, copyright holder]