Skip to content

Instantly share code, notes, and snippets.

@digitalWestie
Last active September 27, 2022 13:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save digitalWestie/39301a6157f62bdc4cda6351563b7f2e to your computer and use it in GitHub Desktop.
Save digitalWestie/39301a6157f62bdc4cda6351563b7f2e to your computer and use it in GitHub Desktop.
Country name normaliser
{"Scotlan"=>"Scotland",
"Gb-Sct"=>"Scotland",
"Gb-Eng"=>"England",
"Uk"=>"United Kingdom",
"Usa/Colorado"=>"United States",
"United States of America"=>"United States",
"Texas, Usa"=>"United States",
"Gbr"=>"United Kingdom",
"Uk-Scotland"=>"Scotland",
"UK"=>"United Kingdom",
"Usa"=>"United States",
"Russian Federation"=>"Russia",
"United Kingdom "=>"United Kingdom",
"United Kingdom ( Scotland ) (Gb-Sct)"=>"United Kingdom",
"GB"=>"United Kingdom",
"Gb"=>"United Kingdom",
"Great Britain"=>"United Kingdom"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment