Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: st: RE: AW: Converting country names into numbers


From   DE SOUZA Eric <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   RE: st: RE: AW: Converting country names into numbers
Date   Fri, 5 Feb 2010 17:31:49 +0100

Thanks. I'll keep it in mind.

Eric 


Eric de Souza
College of Europe
BE-8000 Brugge (Bruges)
Belgium


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Eric Booth
Sent: 05 February 2010 15:52
To: [email protected]
Subject: Re: st: RE: AW: Converting country names into numbers

>

Also, if you're working with countries/country codes you might check out -kountry-  from SSC and http://www.stata-journal.com/article.html?article=dm0038 .

~ Eric
__
Eric A. Booth
Public Policy Research Institute
Texas A&M University
[email protected]
Office: +979.845.6754
Fax: +979.845.0249
http://ppri.tamu.edu


On Feb 5, 2010, at 4:55 AM, DE SOUZA Eric wrote:

> Thanks, Martin.
> I was just going to reply to myself saying that I had found it here:
> http://www.ats.ucla.edu/stat/Stata/faq/destring.htm
> 
> I have used -encode- so many times. Must be getting old.
> 
> Eric
> 
> 
> Eric de Souza
> College of Europe
> BE-8000 Brugge (Bruges)
> Belgium
> 
> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Martin 
> Weiss
> Sent: 05 February 2010 11:48
> To: [email protected]
> Subject: st: AW: Converting country names into numbers
> 
> 
> <>
> 
> 
> 
> *************
> h encode
> *************
> 
> 
> 
> HTH
> Martin
> 
> -----Ursprüngliche Nachricht-----
> Von: [email protected]
> [mailto:[email protected]] Im Auftrag von DE SOUZA 
> Eric
> Gesendet: Freitag, 5. Februar 2010 11:47
> An: Statalist
> Betreff: st: Converting country names into numbers
> 
> I can't for the life of me remember how to convert a variable containg country names into a variable containing numbers, one for each country.
> 
> Eric
> 
> Eric de Souza
> College of Europe
> BE-8000 Brugge (Bruges)
> Belgium
> 
> 



*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index