View source: R/import_census.R
ff_all_year_acs | R Documentation |
This function imports ACS data for a single topic and year, and for the following geographic regions: United States, North Carolina, and all North Carolina counties. Its use case is to update the indicators.
ff_all_year_acs(subject, year, table)
subject |
table or variable name as a string |
year |
The year to improt data. |
table |
Boolean indicating whether 'subject' is a table or variable. 'table = T' indicates that 'subject' is a table |
A tidy dataframe with all census data. Additional columns for the year and geographic region are added. Geographic regions include US, NC, and all NC counties for the given year.
employment <- ff_all_year_acs('S2301', 2017, T)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.