# NOT RUN {
# read data using areas
aaa <- read_acs5year(
year = 2015,
states = c("UT", "RI"),
table_contents = c(
"white = B02001_002",
"black = B02001_003",
"asian = B02001_005"
),
areas = c(
"Lincoln town, RI",
"Salt Lake City city, UT",
"Salt Lake City metro",
"Kent county, RI",
"COUNTY = UT001",
"PLACE = UT62360"
),
summary_level = "block group",
with_margin = TRUE
)
# read data using geoheaders
bbb <- read_acs5year(
year = 2015,
states = c("UT", "RI"),
table_contents = c("male = B01001_002", "female = B01001_026"),
geo_headers = "PLACE",
summary_level = "block group"
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab