add_acs.RdAdd ACS variables Add ACS variables to data frames.
add_acs( data, variable, geography, year = 2019, by_name = FALSE, CENSUS_API_KEY = Sys.getenv("CENSUS_API_KEY") )
| data | Data to add ACS variables to |
|---|---|
| variable | ACS variable(s) to add |
| geography | Geographic unit |
| year | Vintage |
| by_name | TRUE to use county name for matching |
| CENSUS_API_KEY | Census API key |