Statalist


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

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


From   Eric Booth <ebooth@ppri.tamu.edu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: AW: Converting country names into numbers
Date   Fri, 5 Feb 2010 08:51:48 -0600

>

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
ebooth@ppri.tamu.edu
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: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Martin Weiss
> Sent: 05 February 2010 11:48
> To: statalist@hsphsun2.harvard.edu
> Subject: st: AW: Converting country names into numbers
> 
> 
> <> 
> 
> 
> 
> *************
> h encode
> *************
> 
> 
> 
> HTH
> Martin
> 
> -----Ursprüngliche Nachricht-----
> Von: owner-statalist@hsphsun2.harvard.edu
> [mailto:owner-statalist@hsphsun2.harvard.edu] 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/



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