pums_ftp_gofer | R Documentation |
Download & filter data from the Census Bureau Microdata ftp server
Helper to the get_psrc_pums
function
pums_ftp_gofer(span, dyear, level, vars, dir = NULL)
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. |
data.table with all requested variables, sample & replication weights, and if needed, inflation adjustments
Michael Jensen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.