pygris
pygris copied to clipboard
Year Vintage Mismatch for Zctas
As seen in this line for pulling zcta data:
https://github.com/walkerke/pygris/blob/main/pygris/enumeration_units.py#L684
creates a bit of confusion (if not possible error) when trying to pull from the year 2020.
If the year parameter corresponds to the relevant ACS 5year then the zcta vintage for 2020 is actually the 2010 zcta vintages that should be pulled instead (per ACS geography years). I'm not sure what the best solution is here as the Tiger "years" are also somewhat ambiguous to myself, but it is clear the 2020 Tiger year is the most recent to have the 2010 zcta vntage needing some better way in pygris to handle that possible transition and align with the acs 5year.