healthbR: Access Brazilian Public Health Data

Provides easy access to Brazilian public health data from multiple sources including VIGITEL (Surveillance of Risk Factors for Chronic Diseases by Telephone Survey), PNS (National Health Survey), 'PNAD' Continua (Continuous National Household Sample Survey), 'POF' (Household Budget Survey with food security and consumption data), 'Censo Demografico' (population denominators via 'SIDRA' API), SIM (Mortality Information System), SINASC (Live Birth Information System), 'SIH' (Hospital Information System), 'SIA' (Outpatient Information System), 'SINAN' (Notifiable Diseases Surveillance), 'CNES' (National Health Facility Registry), 'SI-PNI' (National Immunization Program - aggregated 1994-2019 via FTP, individual-level 'microdata' 2020+ via 'OpenDataSUS' API), 'SISAB' (Primary Care Health Information System - coverage indicators via REST API), ANS ('Agencia Nacional de Saude Suplementar' - supplementary health beneficiaries, consumer complaints, and financial statements), 'ANVISA' ('Agencia Nacional de Vigilancia Sanitaria' - product registrations, 'pharmacovigilance', 'hemovigilance', 'technovigilance', and controlled substance sales via 'SNGPC'), and other health information systems. Data is downloaded from the Brazilian Ministry of Health and 'IBGE' repositories. Data is returned in tidy format following tidyverse conventions.

Version: 0.2.0
Depends: R (≥ 4.2.0)
Imports: tibble, dplyr, curl, cli, rlang, stringr, purrr, readr, jsonlite, foreign
Suggests: testthat (≥ 3.1.5), knitr, rmarkdown, readxl, haven, furrr, future, arrow, dbplyr, duckdb, piggyback, survey, srvyr
Published: 2026-02-15
DOI: 10.32614/CRAN.package.healthbR
Author: Sidney Bissoli ORCID iD [aut, cre]
Maintainer: Sidney Bissoli <sbissoli76 at gmail.com>
BugReports: https://github.com/SidneyBissoli/healthbR/issues
License: MIT + file LICENSE
Copyright: see file COPYRIGHTS
URL: https://github.com/SidneyBissoli/healthbR, https://sidneybissoli.github.io/healthbR/
NeedsCompilation: yes
Citation: healthbR citation info
Materials: README, NEWS
CRAN checks: healthbR results

Documentation:

Reference manual: healthbR.html , healthbR.pdf
Vignettes: Supplementary Health Data with ANS (source, R code)
Health Surveillance Data with ANVISA (source, R code)
Population Denominators from the Census with healthbR (source, R code)
Health Facility Registry with CNES (source, R code)
DATASUS Modules: SIM, SINASC, SIH, SIA, SINAN, CNES, SI-PNI, and SISAB (source, R code)
Introduction to healthbR (source, R code)
Health Data from PNAD Continua with healthbR (source, R code)
National Health Survey (PNS) with healthbR (source, R code)
Analyzing Health Data from POF with healthbR (source, R code)
Outpatient Production Data from SIA with healthbR (source, R code)
Hospital Admissions from SIH with healthbR (source, R code)
Mortality Data from SIM with healthbR (source, R code)
Notifiable Disease Surveillance with SINAN (source, R code)
Live Birth Data from SINASC with healthbR (source, R code)
Vaccination Data with SI-PNI (source, R code)
Primary Care Coverage with SISAB (source, R code)
Chronic Disease Risk Factors from VIGITEL with healthbR (source, R code)

Downloads:

Package source: healthbR_0.2.0.tar.gz
Windows binaries: r-devel: healthbR_0.2.0.zip, r-release: healthbR_0.2.0.zip, r-oldrel: healthbR_0.2.0.zip
macOS binaries: r-release (arm64): healthbR_0.2.0.tgz, r-oldrel (arm64): healthbR_0.2.0.tgz, r-release (x86_64): healthbR_0.2.0.tgz, r-oldrel (x86_64): healthbR_0.1.1.tgz
Old sources: healthbR archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=healthbR to link to this page.