tidycensus::get_acs(geography = ???) 中 geography 参数的可能级别/选项是什么?
我已经看到它的工作方式如下:
library(tidycensus)
census_api_key("YOUR API KEY GOES HERE")
vt <- get_acs(geography = "county",
variables = "B19013_001",
state = "VT")
slc_value <- get_acs(geography = "tract",
variables = "B25077_001",
state = "UT",
county = "Salt Lake County",
geometry = TRUE)
states <- get_acs(geography = "state",
variables = "B19013_001")
是否所有人口普查地理实体都可用?(https://www2.census.gov/geo/pdfs/reference/geodiagram.pdf)
如果是这样,我该如何指定国家或邮政编码?此代码不起作用:
nation <- get_acs(geography = "nation",
variables = "B19013_001")