healthbR 0.4.0

First CRAN release since 0.2.0: this version also carries everything in 0.3.0 and 0.3.1 below (SI-PNI on the healthbr-data mirror, SI-PNI dictionary corrections), which were GitHub-only.

New vignette: healthbR vs microdatasus

SIH: R2 backend

The healthbr-data mirror (hive-partitioned Parquet on Cloudflare R2, one partition per DATASUS file RD{UF}{yy}{mm}.dbc, values byte-identical, 1992-present, provenance record per file) is now the default source of the SIH module, the same design the SI-PNI module adopted in 0.3.0:

Cache

DATASUS year coverage (fixes a broken download)

Detected by the portfolio source monitor (edition probing against the DATASUS FTP); the year lists in R/*_data_internal.R remain the source of truth until discovery is made dynamic.

healthbR 0.3.1

SI-PNI dictionary corrections (important)

Fixes and polish

healthbR 0.3.0

SI-PNI: R2 backend (fixes #1)

The old OpenDataSUS host (arquivosdadosabertos.saude.gov.br) was decommissioned and, as of 2026, the Ministry removed the 2020-2025 microdata files from the new location as well — sipni_data() for years >= 2020 had been failing with 404 (#1). This release makes the healthbr-data mirror (hive-partitioned Parquet on Cloudflare R2, values byte-identical to the Ministry’s files, complete 2020+ series) the default source for the whole SI-PNI module:

healthbR 0.2.0

New modules

Performance improvements

Refactoring

Documentation

Governance

Breaking changes

Bug fixes

healthbR 0.1.1

Changes

healthbR 0.1.0

healthbR 0.0.0.9000

New features

Performance