Region/subdivision codes returned in Ipregistry data sets and API (field location.region.code) are now all based on the ISO 3166-2 standard.

If needed, we also provide complete and up-to-date ISO 3166 countries and subdivisions data in a Github repository under our organization:

https://github.com/ipregistry/iso3166