tidycensus icon indicating copy to clipboard operation
tidycensus copied to clipboard

CBSA and CSA shape files do not exists for 2022 -- Need an error message staying that

Open kaseyzapatka opened this issue 9 months ago • 0 comments

Hi Kyle,

Adding this as an issue per your request from Census Slack. Thanks of all you do maintaining this:

It seems that shapefiles for CBSA and CSA do not exist for 2022 because there were changes to county-equivalent planning regions in Connecticut and as a result “metro and micro areas, combined statistical areas, metropolitan divisions, New England city and town areas (NECTAs), combined NECTAs, and NECTA divisions are not available in the current vintage. Refer to earlier TIGER/Line releases for these geographic areas.”

Code sample that throws an error:

csa <-
  get_acs(
    geography = "combined statistical area",
    variables = c('csa_pop' = "B01003_001"),
    year = 2022,
    geometry = TRUE,
    output = 'wide') %>%
    glimpse()

kaseyzapatka avatar May 10 '24 21:05 kaseyzapatka