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   "Paul O'Brien" <paul.obrien@afe2.org.uk>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Post codes to locality
Date   Mon, 23 Apr 2012 20:41:19 +0100

Thanks Kit,

But I get the error message: variable postcode does not uniquely identify observations in the master data

Many of our patients share the same post code.

Paul

On 23 Apr 2012, at 12:28, Christopher Baum 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?
> 
> 
> http://www.stata.com/support/faqs/data/characteristics.html
> 
> 
> Kit Baum   |   Boston College Economics & DIW Berlin   |   http://ideas.repec.org/e/pba1.html
>                             An Introduction to Stata Programming  |   http://www.stata-press.com/books/isp.html
>  An Introduction to Modern Econometrics Using Stata  |   http://www.stata-press.com/books/imeus.html
> 
> 
> *
> *   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/

-------------------------------
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/


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