dicennial_varsearch: Search Dicennial Census variables

View source: R/get-decennial-recs.R

dicennial_varsearchR Documentation

Search Dicennial Census variables

Description

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

Author(s)

Michael Jensen

Examples

# Nursing home or medical group quarters
z <- dicennial_varsearch("^Total!!Institutionalized .*(nursing|hospital|hospice)")

# All variables from table POO1
z <- dicennial_varsearch("^P001")


psrc/psrccensus documentation built on June 1, 2025, 1:06 p.m.