Skip to content

nsearle/country-region-data

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

country-region-data

About

This repo contain the source data for the country-region-selector script. As I plan on creating multiple versions of this script (React, Polymer, X-Tags, etc), I've moved the source data here so that each of the repos can pull from the single source.

See the data.json file for the data. It's of the form:

[
  {
    "countryName":"Ecuador",
    "countryShortCode":"EC",
    "regions":[
      {
        "name":"Azuay",
        "shortCode":"A"
      },
      ...
    }
  },
  ... 
]

Contribute

The state/prov abbreviations are not yet complete, so pull requests welcome! For more information, see: country-regions/country-region-selector#2 (comment)

Regions that need ISO3166-2 codes can be identified by having a missing shortCode property for each region.

License

MIT.

About

A source list of countries, regions and shortcodes of each. The data source of https://github.com/benkeen/country-region-selector

Resources

License

Stars

Watchers

Forks

Packages

No packages published