R totalcensus (https://github.com/GL-Li/totalcensus), ACS .
, , ( ) 2010 2015 ACS 5- .
2015 ACS 5- . download_census("acs5year", 2015, "US"), :
zip_acs5 <- read_acs5year(
year = 2015,
states = "US",
geo_headers = "ZCTA5",
table_contents = c(
"white = B02001_002",
"black = B02001_003",
"asian = B02001_005"
),
summary_level = "860"
)
2010. download_census("decennial", 2010, "US"), :
zip_2010 <- read_decennial(
year = 2010,
states = "US",
table_contents = c(
"white = P0030002",
"black = P0030003",
"asian = P0030005"
),
geo_headers = "ZCTA5",
summary_level = "860"
)