RoxygenNote metadata and added
package-level documentation that maps the primary discovery, planning,
acquisition, validation and analysis entry points while preserving all
legacy exports.\\dontrun{} to \\donttest{}, so they remain
user-executable while staying outside routine CRAN example runs. Their
request attempts are bounded and temporary upstream failures no longer
interrupt checks that explicitly run \\donttest{}.Added four task-oriented vignettes covering TABNET access, modern OpenDataSUS surveillance, geography and epidemiological analysis, and memory-efficient processing of large microdata files.
Expanded the contemporary schema registry from analysis-critical subsets to the complete fields documented for ESAVI, e-SUS Notifica, PNI doses and the current hospital-occupancy CSV layout.
Added a separate five-minute default download timeout,
configurable through
options(datasus.download_timeout = ...), while retaining
the shorter metadata-request timeout.
Raw DBC/DBF reads now preserve the order requested in
colunas, even when the physical DBF stores those fields in
a different order. Empty files inside OpenDataSUS ZIP resources now
produce an explicit source- unavailable error.
Extended datasus_dicionario() and
datasus_padronizar() with curated, officially documented
schemas for ESAVI, e-SUS syndrome-gripal, individual PNI doses and
COVID-19 hospital occupancy.
Added datasus_validar_esquema() to report missing
analysis-critical fields, raw versus standardized columns and
incompatible target classes.
Added colunas and normalizar to
contemporary wrappers and column selection to
opendatasus_ler().
Added opendatasus_arquivos() to expand resources
that publish one or more downloadable file links inside their
descriptions.
Fixed e-SUS syndrome-gripal downloads for historical state
resources split into multiple lots, while applying n_max
globally across all parts.
Added opendatasus_processar() for bounded-memory CSV
processing with a callback, configurable chunk size, multipart support
and optional schema normalization.
esavi() for anonymous, continuously updated
vaccination-safety notifications from the e-SUS Notifica ESAVI
module.esus_sindrome_gripal() with validated year and
state selection for annual mild and moderate influenza-like illness
files.pni_doses() for individual monthly National
Immunization Program dose records, including dynamic latest-year and
latest-month discovery.ocupacao_hospitalar() for annual COVID-19
clinical and intensive care bed occupancy records.calcular_indicador() for grouped rates,
proportions, ratios and case-fatality calculations with explicit
aggregation and denominator semantics.taxa_mortalidade(),
taxa_incidencia(), letalidade() and
proporcao() as epidemiological shortcuts.juntar_populacao() for validated many-to-one
joins between event tables and population denominators, including
provenance preservation.populacao_padrao() with normalized WHO 2000–2025,
Segi and Scandinavian age-standardization weights.datasus_territorios() with an offline IBGE
hierarchy covering 5,571 current municipal records, 27 states and five
macroregions.normalizar_codigo_ibge(),
validar_codigo_ibge() and
extrair_codigo_ibge() for seven-digit IBGE and six-digit
DATASUS codes.adicionar_territorio() for validated geographic
joins and completar_territorios() for missing
territory-period combinations.datasus_proveniencia().sim() and sinasc()
interfaces backed by the declarative TABNET catalog and query
engine.abrangencia and
uf arguments.datasus_catalogo(),
datasus_opcoes() and
datasus_proveniencia().sim() or
sinasc().calcular_taxa() and exact Poisson intervals with
intervalo_taxa().semana_epidemiologica() and
calendario_epidemiologico() using the Sunday-to-Saturday
convention followed by Brazilian surveillance calendars.media_movel() with right, centered and left
alignment.padronizar_idade() for direct age
standardization, Poisson standard errors, optional confidence limits and
explicit standard-weight coverage.microdados_catalogo(),
microdados_arquivos(), microdados_baixar() and
microdados_ler() for record-level DBC files.sim_microdados(),
sinasc_microdados() and sih_microdados().datasusr,
replacing the archived read.dbc dependency.datasus_dicionario() and
datasus_padronizar() with conservative field mappings and
date conversion for common SIM, SINASC and SIH fields.sivep_gripe(), sinan_dengue() and
sinan_mpox() for current surveillance microdata.datasus_proveniencia() to retrieve provenance
from downloaded files and parsed datasets.pni_imunizacoes() for applied doses and
vaccination coverage.siscan() with 15 cervical and breast cancer exam
datasets.sisvan() for the two historical nutritional
surveillance series.financiamento_sus() for the three financial
tables linked by the DATASUS catalog.dhdat/webtabx engine
used by PNI and SISCAN, including safe parsing of Google Visualization
table definitions.populacao_residente() with six census, estimate,
projection and retroprojection datasets.sih_morbidade() with eight general and
external-causes datasets.sinan() with 46 notifiable diseases and
conditions.datasus_catalogo() to 96 datasets and added
explicit geographic scope metadata.sih_producao(), sia_producao() and
cnes() with a common API for dimensions, measures, periods
and named filters.datasus_catalogo() for offline dataset discovery
and datasus_opcoes() for live form introspection.evitb10 request endpoints.periodo argument.