microdatasus: Download and Process 'DataSUS' Files

Downloads and processes health microdata from Brazilian Unified Health System ('DataSUS') information systems. It handles the compressed 'DBC' format internally and provides functions to organize variables and add labels to categorical fields from mortality, live births, hospital admissions, outpatient care, health facilities, and notifiable diseases data. For details, see Saldanha et al. (2019) <doi:10.1590/0102-311x00032419>.

Package details

AuthorRaphael Saldanha [aut, cre] (ORCID: <https://orcid.org/0000-0003-0652-8466>), Sidney da Silva Pereira Bissoli [ctb, cph] (DBC decompression code), Mark Adler [ctb, cph] (blast decompressor)
MaintainerRaphael Saldanha <raphael.saldanha@fiocruz.br>
LicenseMIT + file LICENSE
Version3.0.0
URL https://github.com/rfsaldanha/microdatasus https://rfsaldanha.github.io/microdatasus/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("microdatasus")

Try the microdatasus package in your browser

Any scripts or data that you put into this service are public.

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