Learn R Programming

healthbR (version 0.2.0)

sipni_variables: List SI-PNI Variables

Description

Returns a tibble with available variables in the SI-PNI data, including descriptions and value types.

Usage

sipni_variables(type = "DPNI", search = NULL)

Value

A tibble with columns: variable, description, type, section.

Arguments

type

Character. File type to show variables for. "DPNI" (default) for doses applied (FTP, 1994-2019), "CPNI" for coverage (FTP, 1994-2019), or "API" for individual-level microdata (OpenDataSUS, 2020+).

search

Character. Optional search term to filter variables by name or description. Case-insensitive and accent-insensitive.

See Also

Other sipni: sipni_cache_status(), sipni_clear_cache(), sipni_data(), sipni_dictionary(), sipni_info(), sipni_years()

Examples

Run this code
sipni_variables()
sipni_variables(type = "CPNI")
sipni_variables(type = "API")
sipni_variables(search = "dose")

Run the code above in your browser using DataLab