Skip to contents

Call the Census Bureau Microdata API Helper to the get_psrc_pums function

Usage

pums_api_gofer(span, dyear, level, vars)

Arguments

span

Either 1 for acs1 or 5 for acs5

dyear

The data year

level

Either "p" or "h", for "persons" or "households" respectively

vars

PUMS variable/s as an UPPERCASE string element or list

Value

data.table with all requested variables, sample & replication weights, and if needed, inflation adjustments

Author

Michael Jensen