pygris icon indicating copy to clipboard operation
pygris copied to clipboard

Year Vintage Mismatch for Zctas

Open Joshkking opened this issue 1 year ago • 0 comments

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.

Joshkking avatar Jan 03 '24 16:01 Joshkking