pull_acs_basetables {synthACS} | R Documentation |
Pull ACS base tables
Description
A wrapper function to pull multiple base tables from ACS API via
acs.fetch
.
Usage
pull_acs_basetables(endyear, span, geography, table_vec)
Arguments
endyear |
An integer, indicating the latest year of the data in the survey. |
span |
An integer in |
geography |
a valid |
table_vec |
A |
Value
A 'macroACS'
class object
References
https://data.census.gov/cedsci/
Examples
## Not run:
# make geography
la_geo <- acs::geo.make(state= "CA", county= "Los Angeles")
# pull data
la_dat <- pull_acs_basetables(endyear= 2015, span= 1, geography= la_geo,
table_vec= c("B01001", "B01002", "B01003"))
## End(Not run)
[Package synthACS version 1.7.1 Index]