pni_imunizacoes: Query legacy immunization data from PNI

View source: R/health-services.R

pni_imunizacoesR Documentation

Query legacy immunization data from PNI

Description

Provides applied doses and vaccination coverage from the legacy TABNET series, whose latest available year is currently 2022. DATASUS reports that coverage and applied-dose data are under review for integration inconsistencies.

Usage

pni_imunizacoes(
  conjunto = "doses_aplicadas",
  uf = NULL,
  linha = NULL,
  coluna = NULL,
  conteudo = 1,
  periodo = "last",
  filtros = list()
)

Arguments

conjunto

Dataset name listed by 'datasus_catalogo("sih")'.

uf

Two-letter state abbreviation. 'NULL' uses the Brazil form.

linha

Row dimension. ‘NULL' selects the form’s first dimension.

coluna

Column dimension. 'NULL' selects '"Não ativa"'.

conteudo

Measure label, raw TABNET value, or one-based index.

periodo

'"last"' for the latest competence, an exact period label or raw value, a four-digit year (all available competences in that year), or a vector of these values.

filtros

Named list of filters. Names and choices are available from [datasus_opcoes()].

Value

A data frame containing the TABNET result.

Examples


old_options <- options(
  datasus.timeout = 5,
  datasus.download_timeout = 15,
  datasus.max_tries = 1
)
try({
pni_imunizacoes(uf = "MS")
pni_imunizacoes(
  conjunto = "cobertura",
  uf = "MS",
  periodo = 2022
)
})
options(old_options)


datasus documentation built on Oct. 7, 2026, 1:07 a.m.