[R-sig-Geo] google insight map to shapefile
Michael Denslow
michael.denslow at gmail.com
Tue Oct 20 16:56:20 CEST 2009
Hi Carlos,
On Tue, Oct 20, 2009 at 9:11 AM, Carlos Hernandez <carlos.uni2 at gmail.com> wrote:
> Hi Michael, Thanks!
>
> What i'm aiming at is to replicate the US map (by metro regions) just like
> shown in the link but i need to plot my own data.
>
> I'm not sure i understand your idea. Is there a simple way to replicate the
> map?
I probably should have thought a bit more before I replied since I
have not done this before. I was just trying to think of a way that I
might do it. I do not know how to directly download that file from
Google.
Making maps like this in R is fairly easy since there are some nice
examples such as,
http://cran.r-project.org/web/packages/spdep/vignettes/sids.pdf
I am not aware of metro area files in R, though there are state and
county files in the maps package. But, I was thinking that you could
locate a metro regions shape file of the US and map the colors based
on the attributes in provided in the csv file on the Google page.
For example, Top metros for cold play, Harrisonburg = 100, etc. etc.
I am not sure how many you need to do so this may not be very efficient,
Sorry I couldn't help more,
Michael
> Best regards,
> Carlos
>
>
> On Tue, Oct 20, 2009 at 2:52 PM, Michael Denslow <michael.denslow at gmail.com>
> wrote:
>>
>> Hi Carlos,
>>
>>
>> On Mon, Oct 19, 2009 at 11:00 AM, Carlos Hernandez
>> <carlos.uni2 at gmail.com> wrote:
>> > Dear all,I'm using Google Insight data and I would like to "translate"
>> > the
>> > US map (with metro divisions) to a shape file.
>> >
>> > The maps i'm interested in appears in the following link (after clicking
>> > on
>> > "Metro" on the top right of the US map).
>> >
>> > http://www.google.com/insights/search/?hl=en-US#q=coldplay&geo=US&cmpt=q
>> >
>> > Do you have any advice on how to transform this map to a shape file? Is
>> > there a simple way to do this?
>>
>> There may be a way to take the shapefile all at once but why not just
>> download the csv file (top of the page) and bind it to the existing
>> attribute table of a metro area file?
>>
>> I would be interested to know how you end up doing it,
>> Michael
>>
>> > Best regards,
>> > Carlos
>> >
>> > [[alternative HTML version deleted]]
>> >
>> > _______________________________________________
>> > R-sig-Geo mailing list
>> > R-sig-Geo at stat.math.ethz.ch
>> > https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>> >
>>
>>
>>
>> --
>> Michael Denslow
>>
>> Graduate Student & Adjunct Instructor
>> I.W. Carpenter Jr. Herbarium [BOON]
>> Department of Biology
>> Appalachian State University
>> Boone, North Carolina U.S.A.
>> -- AND --
>> Communications Manager
>> Southeast Regional Network of Expertise and Collections
>> sernec.org
>>
>> 36.214177, -81.681480 +/- 3103 meters
>
>
--
Michael Denslow
Graduate Student & Adjunct Instructor
I.W. Carpenter Jr. Herbarium [BOON]
Department of Biology
Appalachian State University
Boone, North Carolina U.S.A.
-- AND --
Communications Manager
Southeast Regional Network of Expertise and Collections
sernec.org
36.214177, -81.681480 +/- 3103 meters
More information about the R-sig-Geo
mailing list