Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Adds in "administrative area" for countries #140

Open
wants to merge 37 commits into
base: master
Choose a base branch
from

Conversation

hmcelroy
Copy link

Adds in the administrative area and options for the following countries:

  • Austria
  • Belgium
  • Bulgaria
  • Croatia
  • Czech Republic
  • Denmark
  • Estonia
  • Finland
  • France
  • Germany
  • Greece
  • Hungary
  • Lithuania
  • The Netherlands
  • Norway
  • Polish
  • Portugal
  • Romania
  • San Marino
  • Slovakia
  • Slovenia
  • Sweden
  • United Kingdom

All admin areas come from the wikipedia documentation for ISO 3166-2 available on wikipedia.
For ex, UK: https://en.wikipedia.org/wiki/ISO_3166-2:GB
Each entry on Wikipedia is documented with the time and link to document for the ISO 3166 standard.
I did not make any of these entries required, just want options available for use with the jquery addressfield plugin so that it works nicely with my pycountry implementation.

@iamEAP

- Counties would exclude islands (ie Isle of Wight), Nations (ie Scotland), Provinces (ie N. Ireland), and metro areas (ie London)
Unless this json supports multiple levels of administrative areas, it seems better to just lump all these items together into a catch all that allows for some specificity outside of town and "United Kingdom"
ISO 3166 -2 supports a two levels of sub areas
ISO-3166 supports a sub region area for France
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant