Includes primary, subject and profile tables
Usage
dicennial_varsearch(regex, year = NULL)
Arguments
- regex
search term
- year
optionally restrict search to a specific year
Value
data.table of filtered variable codes and attributes
Examples
# Nursing home or medical group quarters
z <- dicennial_varsearch("^Total!!Institutionalized .*(nursing|hospital|hospice)")
# All variables from table POO1
z <- dicennial_varsearch("^P001")