Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Convert two-letter country/language code to formal country name

knozawa
11 - Bolide

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

 

5 REPLIES 5
dataMack
12 - Quasar

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.

knozawa
11 - Bolide

Thank you very much!

Jens1245
5 - Atom
ijkiv
6 - Meteoroid

I also found this list, which I found useful https://www.iban.com/country-codes 

Myra01
6 - Meteoroid

Hi,

 

I tried to do in this same way, but still doesn't work, so can you please help me have a look?

Labels