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"
},
...
}
},
...
]
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.
MIT.