download_census {totalcensus}R Documentation

download census data

Description

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.

Usage

download_census(survey, year, states = c(states_DC, "US", "PR"))

Arguments

survey

Which survey to download from, "decennial", "acs5year", or "acs1year"

year

year or ending year of the survey

states

vector of abbreviations of states such as c("MA", "RI")


[Package totalcensus version 0.6.6 Index]