get_psrc_pums | R Documentation |
The primary PUMS function
get_psrc_pums(span, dyear, level, vars, dir = NULL, labels = TRUE)
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 |
dir |
Directory for .gz file, if already downloaded. Default NULL uses the Census ftp. |
labels |
Default TRUE, recodes varible values to the corresponding label |
A srvyr object with appropriate sampling weight and replication weights
Michael Jensen
## Not run:
get_psrc_pums(span=1, dyear=2019, level="p", vars=c("AGEP","SEX"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.