jontheepi
jontheepi

Reputation: 27

R Census Api: Retrieve all Block Groups for a county

Using the R censusapi package, I'm trying to retrieve all block groups for median household income for a county. However, I'm receiving error messages around geography etc. But, the values exist at the census block group level.

apiquery<-getCensus(
  name="acs/acs5",
  vintage=2023,
  region="block_group*",
  regionin="state:24+county:510+tract:*",
  vars=c("GEO_ID","B19013_001E")
)

Upvotes: 0

Views: 20

Answers (0)

Related Questions