python-holidays
python-holidays copied to clipboard
v1: subdivision codes standardization
It'd be fair to revisit the current subdivision handling approach too. PH had prov
and state
fields before adopting subdiv
as the parameter name. I can't think of a better naming suggestions atm.
Following https://github.com/vacanza/python-holidays/issues/1650 approach we should focus on subcodes defined by ISO3166-2, apparently remove deprecated stuff and some supported subdivisions that don't follow ISO3166-2 format (city names instead of their ISO codes).