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 at the end of May, and its replacement, statalist.org is already up and running.


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

st: Re: RE: Geocoding points into regions in Stata


From   Jeremy Wells <jwell33@tigers.lsu.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: Re: RE: Geocoding points into regions in Stata
Date   Sat, 13 Apr 2013 10:54:11 -0500

Thank you, but I am looking for creative, Stata-only answers please!

Jeremy Wells
Ph.D. Student
LSU Dept. of Poli. Sci.
324 Stubbs Hall
Baton Rouge, LA 70803
introtoir.com



Date: Fri, 12 Apr 2013 07:01:27 +0000
From: VICENTE ROYUELA MORA <vroyuela@ub.edu>
Subject: st: RE: Geocoding points into regions in Stata

I am afraid you will have to go to Arc View and merge the information there.

Best

Vicente Royuela

- -----Mensaje original-----
De: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] En nombre de Jeremy Wells
Enviado el: jueves, 11 de abril de 2013 18:13
Para: statalist@hsphsun2.harvard.edu
Asunto: st: Geocoding points into regions in Stata

Hi all,

I have begun working with Dr. Pisati's fun Stata geocoding commands, and although I have found some useful information here regarding my question, I have not found any definitive answers.

I have data that are geocoded (latitude and longitude), but I need to aggregate them to the region level. The regions are demarcated in the coordinate file (from shp2dta), and the data file contains only latitude and longitude. I am working with about 76,000 observations across 34 regions, so is there a way to automatically generate a variable in the data file that contains the region ID from the coordinate file?

I have seen similar questions get a response that goes something like "look at sp_pips in the spgrid command," but this does not seem entirely useful.

Thank you,

Jeremy Wells
Ph.D. Student
LSU Dept. of Poli. Sci.
324 Stubbs Hall
Baton Rouge, LA 70803
introtoir.com
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/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/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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