countyCd
does not reflect changes in Census handling of CT boundaries
#711
Labels
countyCd
does not reflect changes in Census handling of CT boundaries
#711
Hi {dataRetrieval} team! I came across a bug (but maybe an enhancement?) today for the state of CT due to some US Census changes in 2022.
Describe the bug
In June 2022, FIPS county codes were retired for the state of CT. The US Census Bureau has created new FIPS codes for the State of CT reflecting 'planning regions'. Currently, the new FIPS codes are not represented in the
dataRetrieval::countyCd
list which creates issues when using these new planning regions in {dataRetrieval}. Neither the Planning Region name nor the new FIPS assigned to CT work in {dataRetrieval}.To Reproduce
Using State and County names for the pull.
Here, ex2 fails in the whatWQPsites() fails because the new "County" names (in this case Planning Regions) are not listed in the
countyCd
table:If I provide the FIPS numbers, this fails for the new CT names as well:
Again, example 5 fails, but no clear error provided, since the format provided is as described in the error (I'm guessing it is again relying on the
countyCd
table, and since the county FIPS codes don't match, it assigns the state as NA).Thanks all, please let me know if you need further information!
Session Info
Created on 2024-06-24 with reprex v2.1.0
The text was updated successfully, but these errors were encountered: