View source: R/download_census.R
download_census | R Documentation |
Download decennial census and ACS 5-year and 1-year data from United States Census bureau. It also download generated data from Census 2010 if not exist.
download_census(survey, year, states = c(states_DC, "US", "PR"))
survey |
Which survey to download from, "decennial", "acs5year", , "acs1year", or "redistricting". |
year |
year or ending year of the survey |
states |
vector of abbreviations of states such as c("MA", "RI") |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.