How create a variable with ISO Code countries

I want create a new variable with the ISO code of countries inside dataframe with 720 obs (Data panel format).
For example, Chile will be a CHL (iso code) , Armenia will be ARM.... Help me!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.