|
279 | 279 | "Hong Kong SAR" : "Hong Kong", |
280 | 280 | "Taipei and environs" : "Taiwan, Province of China", |
281 | 281 | "occupied Palestinian territory" : "Palestine, State of", |
282 | | - # "Others" has no mapping |
| 282 | + "South Korea" : "Korea, Republic of", |
| 283 | + "Iran" : "Iran, Islamic Republic of", |
| 284 | + "Vatican City" : "Holy See (Vatican City State)", |
| 285 | + "DR Congo" : "Congo, the Democratic Republic of the", |
| 286 | + "Tanzania" : "Tanzania, United Republic of", |
| 287 | + "Venezuela" : "Venezuela, Bolivarian Republic of", |
| 288 | + "North Korea" : "Korea, Democratic People's Republic of", |
| 289 | + "Syria" : "Syrian Arab Republic", |
| 290 | + "Bolivia" : "Bolivia, Plurinational State of", |
| 291 | + "Laos" : "Lao People's Democratic Republic", |
| 292 | + "State of Palestine" : "Palestine, State of", |
| 293 | + "Moldova" : "Moldova, Republic of", |
| 294 | + "Eswatini" : "Swaziland", |
| 295 | + "Cabo Verde" : "Cape Verde", |
| 296 | + "Sao Tome & Principe" : "Sao Tome and Principe", |
| 297 | + "Micronesia" : "Micronesia, Federated States of", |
| 298 | + "St. Vincent & Grenadines" : "Saint Vincent and the Grenadines", |
| 299 | + "U.S. Virgin Islands" : "Virgin Islands, U.S.", |
| 300 | + "Saint Kitts & Nevis" : "Saint Kitts and Nevis", |
| 301 | + "Faeroe Islands" : "Faroe Islands", |
| 302 | + "Sint Maarten" : "Sint Maarten (Dutch part)", |
| 303 | + "Turks and Caicos" : "Turks and Caicos Islands", |
| 304 | + "Saint Martin" : "Saint Martin (French part)", |
| 305 | + "British Virgin Islands" : "Virgin Islands, British", |
| 306 | + "Wallis & Futuna" : "Wallis and Futuna", |
| 307 | + "Saint Helena" : "Saint Helena, Ascension and Tristan da Cunha", |
| 308 | + "Saint Pierre & Miquelon" : "Saint Pierre and Miquelon", |
| 309 | + "Falkland Islands" : "Falkland Islands (Malvinas)", |
| 310 | + "Republic of Ireland" : "Ireland", |
| 311 | + "Ivory Coast" : "Côte d'Ivoire", |
| 312 | + " Azerbaijan" : "Azerbaijan", |
| 313 | + # Conjoin North Ireland on United Kingdom |
| 314 | + "North Ireland" : "United Kingdom", |
| 315 | + "East Timor" : "Timor-Leste", |
| 316 | + "São Tomé and Príncipe" : "Sao Tome and Principe", |
| 317 | + # Guernsey and Jersey form Channel Islands. Conjoin Guernsey on Jersey. |
| 318 | + # Jersey has higher population. |
| 319 | + # https://en.wikipedia.org/wiki/Channel_Islands |
| 320 | + "Guernsey and Jersey" : "Jersey", |
| 321 | + "Channel Islands" : "Jersey", |
| 322 | + "Caribbean Netherlands" : "Bonaire, Sint Eustatius and Saba", |
| 323 | + "F.S. Micronesia" : "Micronesia, Federated States of", |
| 324 | + "Emirates" : "United Arab Emirates", |
| 325 | + # "Bosnia–Herzegovina" : "Bosnia and Herzegovina", |
| 326 | + "Bosnia" : "Bosnia and Herzegovina", |
| 327 | + "Dominican Rep" : "Dominican Republic", |
| 328 | + "Macedonia" : "North Macedonia", |
| 329 | + "Korea, South" : "Korea, Republic of", |
| 330 | + "Cote d'Ivoire" : "Côte d'Ivoire", |
| 331 | + "St. Martin" : "Saint Martin (French part)", |
| 332 | + "Congo (Kinshasa)" : "Congo, the Democratic Republic of the", |
| 333 | + "Taiwan*" : "Taiwan, Province of China", |
| 334 | + "Reunion" : "Réunion", |
| 335 | + # "Others" has no mapping, i.e. the default val is used |
| 336 | + # "Cruise Ship" has no mapping, i.e. the default val is used |
283 | 337 | } |
284 | 338 |
|
285 | 339 | def country_code(country): |
|
0 commit comments