acspull | R Documentation |
Function for downloading acs data at given geography and year
acspull( varlist, filename, year = 2020, geog = "block group", varscensus = NULL, state = "Maryland", basedir = "./data" )
varlist |
Vector of variables to download |
filename |
String to save file as |
year |
ACS5 year to download data from; default 2020 |
geog |
Geography of data to download; default block group |
varscensus |
tidycensus downloaded variable names using tidycensus::load_variables; default NULL, which loads in ACS5 variables to merge |
state |
tidycensus state; default "Maryland" |
Creates data directories to save loaded ACS5 data in
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.