Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | David Elliott <dcelliott@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: Looping through entries in csv file |
Date | Mon, 13 Sep 2010 13:53:59 -0300 |
Once one has the postal district extracted from the address fields, why not just use it to merge with a file containing the districts and counties? I'm not catching the reason to place everything in a global. I also need to ask a question about UK postal codes. Are UK codes fully circumscribed by county boundaries? In Canada the fist part of the postal code is called a "Forward sortation area" or FSA - The FSA where I work, for example is "B3J" One FSA can serve a fairly large region and at least for us, that region can extend across county lines which plays holy hell with our use of them to place persons within a county boundary for statistical purposes. It may be prudent to test your apparent assumption that codes don't cross county lines. DC Elliott * * 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/