Open usamabilal opened 1 week ago
Thanks for catching this! I had a feeling I missed something with 2022...My bad! I forgot to update the zcta xwalk. I will add that later today.
It should work now. Thanks!
A side note about 2022 ZCTA spatial data:
As of now, get_census_data()
with geometry = TRUE
will cause an error "The Census Bureau has not yet released the CB ZCTA file for 2022. " This is because tidycensus::get_acs()
uses cb = TRUE
as default for geometry = TRUE
calls, but the cartographic boundary files are not available for 2022. To fix the error, add an additional cb = FALSE
argument in the get_census_data()
.
thank you!
And the output is: