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"))
Which survey to download from, "decennial", "acs5year", or "acs1year"
year or ending year of the survey
vector of abbreviations of states such as c("MA", "RI")