Convert two-letter country/language code to formal country name
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello,
I would like to convert two-letter country code into formal country name.
Sample:
BR --> Brazil
IT --> Italy
US --> United States
Is there any simple way?
Thank you,
Kazumi
Solved! Go to Solution.
- Labels:
- Preparation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
1. Find a table with the listings of name and abbreviation (here's one I just found - http://www.nationsonline.org/oneworld/country_code_list.htm)
2. Copy and paste that into a 'Text Input' tool in Alteryx
3. Use the "Find/Replace" tool (under the join category) and connect it to your source data and the Text input tool with the table you copied in.
4. Set the Find Replace tool to take the full country name from a match on the abbreviation field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thank you very much!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
You can use www.countryconversion.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I also found this list, which I found useful https://www.iban.com/country-codes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
