tidycensus::get_acs() geography options?

Viewed 4621

What are the possible levels/options for the geography argument in tidycensus::get_acs(geography = ???)?

I've seen it work as follows:

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")

Are all of the census geographic entities available? (https://www2.census.gov/geo/pdfs/reference/geodiagram.pdf)

And if so how can I specify nation or Zipcode? This code doesn't work:

nation <- get_acs(geography = "nation", 
              variables = "B19013_001")
2 Answers
Related