Skip to content

Instantly share code, notes, and snippets.

@brightrain
Created April 22, 2016 00:03
Show Gist options
  • Save brightrain/c5f05371e322b7348e1bd6437c577f0a to your computer and use it in GitHub Desktop.
Save brightrain/c5f05371e322b7348e1bd6437c577f0a to your computer and use it in GitHub Desktop.
Translator between population.io countries and the standard iso 2 character country code
[{"Country":"Falkland Islands","populationIoName":"NotFound","iso2Code":"FK"},{"Country":"French Guiana","populationIoName":"French Guiana","iso2Code":"GF"},{"Country":"Guyana","populationIoName":"Guyana","iso2Code":"GY"},{"Country":"Cyprus","populationIoName":"Cyprus","iso2Code":"CY"},{"Country":"Pitcairn","populationIoName":"NotFound","iso2Code":"PN"},{"Country":"South Georgia","populationIoName":"NotFound","iso2Code":"GS"},{"Country":"Saint Helena","populationIoName":"NotFound","iso2Code":"SH"},{"Country":"Egypt","populationIoName":"Arab Rep of Egypt","iso2Code":"EG"},{"Country":"Suriname","populationIoName":"Suriname","iso2Code":"SR"},{"Country":"Georgia","populationIoName":"Georgia","iso2Code":"GE"},{"Country":"Greece","populationIoName":"Greece","iso2Code":"GR"},{"Country":"Trinidad and Tobago","populationIoName":"Trinidad and Tobago","iso2Code":"TT"},{"Country":"Lebanon","populationIoName":"Lebanon","iso2Code":"LB"},{"Country":"Syria","populationIoName":"Syrian Arab Rep","iso2Code":"SY"},{"Country":"Venezuela","populationIoName":"RB-de-Venezuela","iso2Code":"VE"},{"Country":"Turkey","populationIoName":"Turkey","iso2Code":"TR"},{"Country":"American Samoa","populationIoName":"NotFound","iso2Code":"AS"},{"Country":"Austria","populationIoName":"Austria","iso2Code":"AT"},{"Country":"Czech Republic","populationIoName":"Czech Republic","iso2Code":"CZ"},{"Country":"Cook Islands","populationIoName":"NotFound","iso2Code":"CK"},{"Country":"Denmark","populationIoName":"Denmark","iso2Code":"DK"},{"Country":"French Polynesia","populationIoName":"French Polynesia","iso2Code":"PF"},{"Country":"Hungary","populationIoName":"Hungary","iso2Code":"HU"},{"Country":"Poland","populationIoName":"Poland","iso2Code":"PL"},{"Country":"Jarvis Island","populationIoName":"NotFound","iso2Code":"UM"},{"Country":"Slovakia","populationIoName":"NotFound","iso2Code":"SK"},{"Country":"Slovenia","populationIoName":"Slovenia","iso2Code":"SI"},{"Country":"Niue","populationIoName":"NotFound","iso2Code":"NU"},{"Country":"Samoa","populationIoName":"Samoa","iso2Code":"WS"},{"Country":"Svalbard","populationIoName":"NotFound","iso2Code":"SJ"},{"Country":"Tokelau","populationIoName":"NotFound","iso2Code":"TK"},{"Country":"Belgium","populationIoName":"Belgium","iso2Code":"BE"},{"Country":"Tonga","populationIoName":"Tonga","iso2Code":"TO"},{"Country":"France","populationIoName":"France","iso2Code":"FR"},{"Country":"Wallis and Futuna","populationIoName":"NotFound","iso2Code":"WF"},{"Country":"Argentina","populationIoName":"Argentina","iso2Code":"AR"},{"Country":"Germany","populationIoName":"Germany","iso2Code":"DE"},{"Country":"Bolivia","populationIoName":"Bolivia","iso2Code":"BO"},{"Country":"Liechtenstein","populationIoName":"NotFound","iso2Code":"LI"},{"Country":"Brazil","populationIoName":"Brazil","iso2Code":"BR"},{"Country":"Luxembourg","populationIoName":"Luxembourg","iso2Code":"LU"},{"Country":"Chile","populationIoName":"Chile","iso2Code":"CL"},{"Country":"Switzerland","populationIoName":"Switzerland","iso2Code":"CH"},{"Country":"Ecuador","populationIoName":"Ecuador","iso2Code":"EC"},{"Country":"Paraguay","populationIoName":"Paraguay","iso2Code":"PY"},{"Country":"United States","populationIoName":"United States","iso2Code":"US"},{"Country":"Peru","populationIoName":"Peru","iso2Code":"PE"},{"Country":"Uruguay","populationIoName":"Uruguay","iso2Code":"UY"},{"Country":"Belarus","populationIoName":"Belarus","iso2Code":"BY"},{"Country":"Estonia","populationIoName":"Estonia","iso2Code":"EE"},{"Country":"Baker Island","populationIoName":"NotFound","iso2Code":"UM"},{"Country":"Finland","populationIoName":"Finland","iso2Code":"FI"},{"Country":"Latvia","populationIoName":"Latvia","iso2Code":"LV"},{"Country":"Lithuania","populationIoName":"Lithuania","iso2Code":"LT"},{"Country":"Moldova","populationIoName":"Moldova","iso2Code":"MD"},{"Country":"Romania","populationIoName":"Romania","iso2Code":"RO"},{"Country":"Ukraine","populationIoName":"Ukraine","iso2Code":"UA"},{"Country":"India","populationIoName":"India","iso2Code":"IN"},{"Country":"Maldives","populationIoName":"Maldives","iso2Code":"MV"},{"Country":"Oman","populationIoName":"Oman","iso2Code":"OM"},{"Country":"Somalia","populationIoName":"Somalia","iso2Code":"SO"},{"Country":"Canada","populationIoName":"Canada","iso2Code":"CA"},{"Country":"Sri Lanka","populationIoName":"Sri Lanka","iso2Code":"LK"},{"Country":"Turkmenistan","populationIoName":"Turkmenistan","iso2Code":"TM"},{"Country":"Uzbekistan","populationIoName":"Uzbekistan","iso2Code":"UZ"},{"Country":"Yemen","populationIoName":"Rep of Yemen","iso2Code":"YE"},{"Country":"Armenia","populationIoName":"Armenia","iso2Code":"AM"},{"Country":"Azerbaijan","populationIoName":"Azerbaijan","iso2Code":"AZ"},{"Country":"Bahrain","populationIoName":"Bahrain","iso2Code":"BH"},{"Country":"Iran","populationIoName":"Islamic Republic of Iran","iso2Code":"IR"},{"Country":"Kuwait","populationIoName":"Kuwait","iso2Code":"KW"},{"Country":"Qatar","populationIoName":"Qatar","iso2Code":"QA"},{"Country":"Saudi Arabia","populationIoName":"Saudi Arabia","iso2Code":"SA"},{"Country":"United Arab Emirates","populationIoName":"United Arab Emirates","iso2Code":"AE"},{"Country":"Afghanistan","populationIoName":"Afghanistan","iso2Code":"AF"},{"Country":"Kyrgyzstan","populationIoName":"NotFound","iso2Code":"KG"},{"Country":"Nepal","populationIoName":"Nepal","iso2Code":"NP"},{"Country":"Pakistan","populationIoName":"Pakistan","iso2Code":"PK"},{"Country":"Tajikistan","populationIoName":"Tajikistan","iso2Code":"TJ"},{"Country":"Bangladesh","populationIoName":"Bangladesh","iso2Code":"BD"},{"Country":"Bhutan","populationIoName":"Bhutan","iso2Code":"BT"},{"Country":"Brunei Darussalam","populationIoName":"Brunei Darussalam","iso2Code":"BN"},{"Country":"China","populationIoName":"China","iso2Code":"CN"},{"Country":"Japan","populationIoName":"Japan","iso2Code":"JP"},{"Country":"North Korea","populationIoName":"NotFound","iso2Code":"KP"},{"Country":"Palau","populationIoName":"NotFound","iso2Code":"PW"},{"Country":"Philippines","populationIoName":"Philippines","iso2Code":"PH"},{"Country":"South Korea","populationIoName":"NotFound","iso2Code":"KR"},{"Country":"Cambodia","populationIoName":"Cambodia","iso2Code":"KH"},{"Country":"Laos","populationIoName":"NotFound","iso2Code":"LA"},{"Country":"Malaysia","populationIoName":"Malaysia","iso2Code":"MY"},{"Country":"Myanmar","populationIoName":"Myanmar","iso2Code":"MM"},{"Country":"Singapore","populationIoName":"Singapore","iso2Code":"SG"},{"Country":"Guatemala","populationIoName":"Guatemala","iso2Code":"GT"},{"Country":"Thailand","populationIoName":"Thailand","iso2Code":"TH"},{"Country":"Howland Island","populationIoName":"NotFound","iso2Code":"UM"},{"Country":"Johnston Atoll","populationIoName":"NotFound","iso2Code":"UM"},{"Country":"Vietnam","populationIoName":"Vietnam","iso2Code":"VN"},{"Country":"Mexico","populationIoName":"Mexico","iso2Code":"MX"},{"Country":"Midway Islands","populationIoName":"NotFound","iso2Code":"UM"},{"Country":"Guam","populationIoName":"Guam","iso2Code":"GU"},{"Country":"Barbados","populationIoName":"Barbados","iso2Code":"BB"},{"Country":"Dominica","populationIoName":"Dominican Republic","iso2Code":"DM"},{"Country":"Marshall Islands","populationIoName":"NotFound","iso2Code":"MH"},{"Country":"Grenada","populationIoName":"Grenada","iso2Code":"GD"},{"Country":"Guadeloupe","populationIoName":"Guadeloupe","iso2Code":"GP"},{"Country":"Martinique","populationIoName":"Martinique","iso2Code":"MQ"},{"Country":"Micronesia","populationIoName":"Federated States of Micronesia","iso2Code":"FM"},{"Country":"Saint Lucia","populationIoName":"NotFound","iso2Code":"LC"},{"Country":"Saint Pierre and Miquelon","populationIoName":"NotFound","iso2Code":"PM"},{"Country":"Northern Mariana Islands","populationIoName":"NotFound","iso2Code":"MP"},{"Country":"Saint Vincent and the Grenadines","populationIoName":"NotFound","iso2Code":"VC"},{"Country":"Wake Island","populationIoName":"NotFound","iso2Code":"UM"},{"Country":"Aruba","populationIoName":"Aruba","iso2Code":"AW"},{"Country":"Botswana","populationIoName":"Botswana","iso2Code":"BW"},{"Country":"Burundi","populationIoName":"Burundi","iso2Code":"BI"},{"Country":"French Southern Territories","populationIoName":"NotFound","iso2Code":"TF"},{"Country":"Heard Island and McDonald Islands","populationIoName":"NotFound","iso2Code":"HM"},{"Country":"Kenya","populationIoName":"Kenya","iso2Code":"KE"},{"Country":"Bermuda","populationIoName":"NotFound","iso2Code":"BM"},{"Country":"Rwanda","populationIoName":"Rwanda","iso2Code":"RW"},{"Country":"Tanzania","populationIoName":"Tanzania","iso2Code":"TZ"},{"Country":"Zambia","populationIoName":"Zambia","iso2Code":"ZM"},{"Country":"Zimbabwe","populationIoName":"Zimbabwe","iso2Code":"ZW"},{"Country":"Dominican Republic","populationIoName":"Dominican Republic","iso2Code":"DO"},{"Country":"Haiti","populationIoName":"Haiti","iso2Code":"HT"},{"Country":"Antarctica","populationIoName":"NotFound","iso2Code":"AQ"},{"Country":"Jamaica","populationIoName":"Jamaica","iso2Code":"JM"},{"Country":"Bouvet Island","populationIoName":"NotFound","iso2Code":"BV"},{"Country":"Bahamas","populationIoName":"The Bahamas","iso2Code":"BS"},{"Country":"Comoros","populationIoName":"Comoros","iso2Code":"KM"},{"Country":"Turks and Caicos Islands","populationIoName":"NotFound","iso2Code":"TC"},{"Country":"Juan De Nova Island","populationIoName":"NotFound","iso2Code":"JU"},{"Country":"Belize","populationIoName":"Belize","iso2Code":"BZ"},{"Country":"Lesotho","populationIoName":"Lesotho","iso2Code":"LS"},{"Country":"Cayman Islands","populationIoName":"NotFound","iso2Code":"KY"},{"Country":"Malawi","populationIoName":"Malawi","iso2Code":"MW"},{"Country":"Colombia","populationIoName":"Colombia","iso2Code":"CO"},{"Country":"Mozambique","populationIoName":"Mozambique","iso2Code":"MZ"},{"Country":"Costa Rica","populationIoName":"Costa Rica","iso2Code":"CR"},
{"Country":"South Africa","populationIoName":"South Africa","iso2Code":"ZA"},{"Country":"Cuba","populationIoName":"Cuba","iso2Code":"CU"},{"Country":"El Salvador","populationIoName":"El Salvador","iso2Code":"SV"},{"Country":"Swaziland","populationIoName":"Swaziland","iso2Code":"SZ"},{"Country":"Angola","populationIoName":"Angola","iso2Code":"AO"},{"Country":"Honduras","populationIoName":"Honduras","iso2Code":"HN"},{"Country":"Congo","populationIoName":"Congo","iso2Code":"CG"},{"Country":"Nicaragua","populationIoName":"Nicaragua","iso2Code":"NI"},{"Country":"Panama","populationIoName":"Panama","iso2Code":"PA"},{"Country":"Congo DRC","populationIoName":"NotFound","iso2Code":"CD"},{"Country":"Fiji","populationIoName":"Fiji","iso2Code":"FJ"},{"Country":"Anguilla","populationIoName":"NotFound","iso2Code":"AI"},{"Country":"Antigua and Barbuda","populationIoName":"Antigua and Barbuda","iso2Code":"AG"},{"Country":"Gabon","populationIoName":"Gabon","iso2Code":"GA"},{"Country":"Namibia","populationIoName":"Namibia","iso2Code":"NA"},{"Country":"British Virgin Islands","populationIoName":"NotFound","iso2Code":"VG"},{"Country":"New Zealand","populationIoName":"New Zealand","iso2Code":"NZ"},{"Country":"Montserrat","populationIoName":"NotFound","iso2Code":"MS"},{"Country":"Puerto Rico","populationIoName":"Puerto Rico","iso2Code":"PR"},{"Country":"British Indian Ocean Territory","populationIoName":"NotFound","iso2Code":"IO"},{"Country":"Saint Kitts and Nevis","populationIoName":"NotFound","iso2Code":"KN"},{"Country":"Glorioso Island","populationIoName":"NotFound","iso2Code":"GO"},{"Country":"Madagascar","populationIoName":"Madagascar","iso2Code":"MG"},{"Country":"US Virgin Islands","populationIoName":"US Virgin Islands","iso2Code":"VI"},{"Country":"Mauritius","populationIoName":"Mauritius","iso2Code":"MU"},{"Country":"Faroe Islands","populationIoName":"NotFound","iso2Code":"FO"},{"Country":"Mayotte","populationIoName":"Mayotte","iso2Code":"YT"},{"Country":"Réunion","populationIoName":"NotFound","iso2Code":"RE"},{"Country":"Greenland","populationIoName":"NotFound","iso2Code":"GL"},{"Country":"Seychelles","populationIoName":"Seychelles","iso2Code":"SC"},{"Country":"Guernsey","populationIoName":"NotFound","iso2Code":"GG"},{"Country":"Iceland","populationIoName":"Iceland","iso2Code":"IS"},{"Country":"Christmas Island","populationIoName":"NotFound","iso2Code":"CX"},{"Country":"Ireland","populationIoName":"Ireland","iso2Code":"IE"},{"Country":"Cocos Islands","populationIoName":"NotFound","iso2Code":"CC"},{"Country":"Indonesia","populationIoName":"Indonesia","iso2Code":"ID"},{"Country":"Isle of Man","populationIoName":"NotFound","iso2Code":"IM"},{"Country":"Timor-Leste","populationIoName":"Timor-Leste","iso2Code":"TL"},{"Country":"Jan Mayen","populationIoName":"NotFound","iso2Code":"SJ"},{"Country":"Australia","populationIoName":"Australia","iso2Code":"AU"},{"Country":"Jersey","populationIoName":"NotFound","iso2Code":"JE"},{"Country":"Nauru","populationIoName":"NotFound","iso2Code":"NR"},{"Country":"United Kingdom","populationIoName":"United Kingdom","iso2Code":"GB"},{"Country":"New Caledonia","populationIoName":"New Caledonia","iso2Code":"NC"},{"Country":"Cape Verde","populationIoName":"NotFound","iso2Code":"CV"},{"Country":"Norfolk Island","populationIoName":"NotFound","iso2Code":"NF"},{"Country":"Côte d'Ivoire","populationIoName":"NotFound","iso2Code":"CI"},{"Country":"Papua New Guinea","populationIoName":"Papua New Guinea","iso2Code":"PG"},{"Country":"Ghana","populationIoName":"Ghana","iso2Code":"GH"},{"Country":"Solomon Islands","populationIoName":"Solomon Islands","iso2Code":"SB"},{"Country":"Tuvalu","populationIoName":"NotFound","iso2Code":"TV"},{"Country":"Gibraltar","populationIoName":"NotFound","iso2Code":"GI"},{"Country":"Vanuatu","populationIoName":"Vanuatu","iso2Code":"VU"},{"Country":"Liberia","populationIoName":"Liberia","iso2Code":"LR"},{"Country":"Montenegro","populationIoName":"Montenegro","iso2Code":"ME"},{"Country":"Morocco","populationIoName":"Morocco","iso2Code":"MA"},{"Country":"Serbia","populationIoName":"Serbia","iso2Code":"RS"},{"Country":"Portugal","populationIoName":"Portugal","iso2Code":"PT"},{"Country":"Netherlands","populationIoName":"The Netherlands","iso2Code":"NL"},{"Country":"Spain","populationIoName":"Spain","iso2Code":"ES"},{"Country":"South Sudan","populationIoName":"South Sudan","iso2Code":"SS"},{"Country":"Burkina Faso","populationIoName":"Burkina Faso","iso2Code":"BF"},{"Country":"Guinea","populationIoName":"Equatorial Guinea","iso2Code":"GN"},{"Country":"Saint Martin","populationIoName":"NotFound","iso2Code":"MF"},{"Country":"Guinea-Bissau","populationIoName":"Guinea-Bissau","iso2Code":"GW"},{"Country":"Sint Maarten","populationIoName":"NotFound","iso2Code":"SX"},{"Country":"Saint Barthelemy","populationIoName":"NotFound","iso2Code":"BL"},{"Country":"Mali","populationIoName":"Mali","iso2Code":"ML"},{"Country":"Mauritania","populationIoName":"Mauritania","iso2Code":"MR"},{"Country":"Saba","populationIoName":"NotFound","iso2Code":"BQ"},{"Country":"Senegal","populationIoName":"Senegal","iso2Code":"SN"},{"Country":"Saint Eustatius","populationIoName":"NotFound","iso2Code":"BQ"},{"Country":"Curacao","populationIoName":"Curacao","iso2Code":"CW"},{"Country":"Sierra Leone","populationIoName":"Sierra Leone","iso2Code":"SL"},{"Country":"Bonaire","populationIoName":"NotFound","iso2Code":"BQ"},{"Country":"Gambia","populationIoName":"The Gambia","iso2Code":"GM"},{"Country":"Djibouti","populationIoName":"Djibouti","iso2Code":"DJ"},{"Country":"Eritrea","populationIoName":"Eritrea","iso2Code":"ER"},{"Country":"Ethiopia","populationIoName":"Ethiopia","iso2Code":"ET"},{"Country":"Mongolia","populationIoName":"Mongolia","iso2Code":"MN"},{"Country":"Sudan","populationIoName":"South Sudan","iso2Code":"SD"},{"Country":"Uganda","populationIoName":"Uganda","iso2Code":"UG"},{"Country":"Iraq","populationIoName":"Iraq","iso2Code":"IQ"},{"Country":"Israel","populationIoName":"Israel","iso2Code":"IL"},{"Country":"Jordan","populationIoName":"Jordan","iso2Code":"JO"},{"Country":"Kazakhstan","populationIoName":"Kazakhstan","iso2Code":"KZ"},{"Country":"Norway","populationIoName":"Norway","iso2Code":"NO"},{"Country":"Russian Federation","populationIoName":"Russian Federation","iso2Code":"RU"},{"Country":"Sweden","populationIoName":"Sweden","iso2Code":"SE"},{"Country":"Palestinian Territory","populationIoName":"NotFound","iso2Code":"PS"},{"Country":"Algeria","populationIoName":"Algeria","iso2Code":"DZ"},{"Country":"Andorra","populationIoName":"NotFound","iso2Code":"AD"},{"Country":"Cameroon","populationIoName":"Cameroon","iso2Code":"CM"},{"Country":"Central African Republic","populationIoName":"Central African Republic","iso2Code":"CF"},{"Country":"Libya","populationIoName":"Libya","iso2Code":"LY"},{"Country":"Monaco","populationIoName":"NotFound","iso2Code":"MC"},{"Country":"Tunisia","populationIoName":"Tunisia","iso2Code":"TN"},{"Country":"Benin","populationIoName":"Benin","iso2Code":"BJ"},{"Country":"Chad","populationIoName":"Chad","iso2Code":"TD"},{"Country":"Equatorial Guinea","populationIoName":"Equatorial Guinea","iso2Code":"GQ"},{"Country":"Kiribati","populationIoName":"Kiribati","iso2Code":"KI"},{"Country":"Niger","populationIoName":"Niger","iso2Code":"NE"},{"Country":"Nigeria","populationIoName":"Nigeria","iso2Code":"NG"},{"Country":"Sao Tome and Principe","populationIoName":"Sao Tome and Principe","iso2Code":"ST"},{"Country":"Togo","populationIoName":"Togo","iso2Code":"TG"},{"Country":"Albania","populationIoName":"Albania","iso2Code":"AL"},{"Country":"Bosnia and Herzegovina","populationIoName":"Bosnia and Herzegovina","iso2Code":"BA"},{"Country":"Croatia","populationIoName":"Croatia","iso2Code":"HR"},{"Country":"Italy","populationIoName":"Italy","iso2Code":"IT"},{"Country":"The Former Yugoslav Republic of Macedonia","populationIoName":"NotFound","iso2Code":"MK"},{"Country":"Malta","populationIoName":"Malta","iso2Code":"MT"},{"Country":"San Marino","populationIoName":"NotFound","iso2Code":"SM"},{"Country":"Vatican City","populationIoName":"NotFound","iso2Code":"VA"},{"Country":"Bulgaria","populationIoName":"Bulgaria","iso2Code":"BG"}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment