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: Question on spmap and region aggregation


From   "Vitorino, Maria Ana" <vitorino@wharton.upenn.edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: Question on spmap and region aggregation
Date   Wed, 24 Feb 2010 14:42:36 -0500

Dear stata-list users,

I have a database and a coordinates datafile for regions that are called "municipalities". Now, municipalities can be aggregated into bigger regions called "districts". The database file also includes this information.

As an example:

Database file:

Municipality   District      id
a1                         A           1
a2                         A           2
b1                         B           3
b2                         B           4
b3                         B           5
etc


Is it possible to get a map only with the districts? Note that the coordinates file includes the coordinates for the municipalities (i.e. at a more disaggregated level than districts).
Any help is appreciated!

Thanks!

Ana


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