Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

Re: st: Post codes to locality


From   Ronnie Babigumira <rb.glists@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Post codes to locality
Date   Mon, 23 Apr 2012 13:29:51 +0200

-merge- ? 

if postcode is common to both files then you should be able to -merge- and then keep if _merge == 3 no? 

-- 
010100100110111101101110011011100110100101100101




On Monday, April 23, 2012 at 1:14 PM, Paul O'Brien wrote:

> I have a clinical database with postcodes of patients and want to convert the post codes to locality (LSOA). I have a file with corresponding post codes/locality, but there are over 1m post codes in England and around 35,000 localities.
> 
> An gen .. if ... command takes for ever.
> 
> Is there a simper way?
> 
> Thanks,
> 
> Paul
> 
> -------------------------------
> Dr Paul O'Brien
> Raymede Clinic
> Westside Contraception and Sexual Health Services
> Central London Community Healthcare
> Exmoor St
> London
> W10 6DZ
> UK
> +44 (0)20 8962 4450
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> *
> * 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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index