Learn R Programming

healthbR (version 0.2.0)

pns_sidra_search: Search PNS SIDRA tables

Description

Searches PNS SIDRA tables by keyword in the table name/description. Supports partial matching, case-insensitive, and accent-insensitive search.

Usage

pns_sidra_search(keyword, year = NULL)

Value

A tibble with matching tables (same structure as pns_sidra_tables()).

Arguments

keyword

Character. Search term (minimum 2 characters).

year

Numeric. Filter tables containing data for this year. NULL returns all.

Examples

Run this code
pns_sidra_search("diabetes")
pns_sidra_search("hipertensao")
pns_sidra_search("fumante")

Run the code above in your browser using DataLab