diff --git a/app/utils/countrycodes.py b/app/utils/countrycodes.py index 57f2cac0..89fb58c8 100644 --- a/app/utils/countrycodes.py +++ b/app/utils/countrycodes.py @@ -279,7 +279,61 @@ "Hong Kong SAR" : "Hong Kong", "Taipei and environs" : "Taiwan, Province of China", "occupied Palestinian territory" : "Palestine, State of", - # "Others" has no mapping + "South Korea" : "Korea, Republic of", + "Iran" : "Iran, Islamic Republic of", + "Vatican City" : "Holy See (Vatican City State)", + "DR Congo" : "Congo, the Democratic Republic of the", + "Tanzania" : "Tanzania, United Republic of", + "Venezuela" : "Venezuela, Bolivarian Republic of", + "North Korea" : "Korea, Democratic People's Republic of", + "Syria" : "Syrian Arab Republic", + "Bolivia" : "Bolivia, Plurinational State of", + "Laos" : "Lao People's Democratic Republic", + "State of Palestine" : "Palestine, State of", + "Moldova" : "Moldova, Republic of", + "Eswatini" : "Swaziland", + "Cabo Verde" : "Cape Verde", + "Sao Tome & Principe" : "Sao Tome and Principe", + "Micronesia" : "Micronesia, Federated States of", + "St. Vincent & Grenadines" : "Saint Vincent and the Grenadines", + "U.S. Virgin Islands" : "Virgin Islands, U.S.", + "Saint Kitts & Nevis" : "Saint Kitts and Nevis", + "Faeroe Islands" : "Faroe Islands", + "Sint Maarten" : "Sint Maarten (Dutch part)", + "Turks and Caicos" : "Turks and Caicos Islands", + "Saint Martin" : "Saint Martin (French part)", + "British Virgin Islands" : "Virgin Islands, British", + "Wallis & Futuna" : "Wallis and Futuna", + "Saint Helena" : "Saint Helena, Ascension and Tristan da Cunha", + "Saint Pierre & Miquelon" : "Saint Pierre and Miquelon", + "Falkland Islands" : "Falkland Islands (Malvinas)", + "Republic of Ireland" : "Ireland", + "Ivory Coast" : "Côte d'Ivoire", + " Azerbaijan" : "Azerbaijan", + # Conjoin North Ireland on United Kingdom + "North Ireland" : "United Kingdom", + "East Timor" : "Timor-Leste", + "São Tomé and Príncipe" : "Sao Tome and Principe", + # Guernsey and Jersey form Channel Islands. Conjoin Guernsey on Jersey. + # Jersey has higher population. + # https://en.wikipedia.org/wiki/Channel_Islands + "Guernsey and Jersey" : "Jersey", + "Channel Islands" : "Jersey", + "Caribbean Netherlands" : "Bonaire, Sint Eustatius and Saba", + "F.S. Micronesia" : "Micronesia, Federated States of", + "Emirates" : "United Arab Emirates", + # "Bosnia–Herzegovina" : "Bosnia and Herzegovina", + "Bosnia" : "Bosnia and Herzegovina", + "Dominican Rep" : "Dominican Republic", + "Macedonia" : "North Macedonia", + "Korea, South" : "Korea, Republic of", + "Cote d'Ivoire" : "Côte d'Ivoire", + "St. Martin" : "Saint Martin (French part)", + "Congo (Kinshasa)" : "Congo, the Democratic Republic of the", + "Taiwan*" : "Taiwan, Province of China", + "Reunion" : "Réunion", + # "Others" has no mapping, i.e. the default val is used + # "Cruise Ship" has no mapping, i.e. the default val is used } def country_code(country):