Hi Patrick,
Thanks! That worked perfectly!
M
--
View this message in context:
http://r.789695.n4.nabble.com/Projecting-data-on-a-world-map-using-long-lat-tp3081298p3085834.html
Sent from the R help mailing list archive at Nabble.com.
__
Hi Mathijs,
this should work:
library(maptools)
library(ggplot2)
gpclibPermit()
theme_set(theme_bw())
#setwd(C:\\foo) point to your local dir
# Data: http://thematicmapping.org/downloads/world_borders.php
world.shp - readShapeSpatial(TM_WORLD_BORDERS-0.3.shp)
# check for region-id - Use FIPS
On Fri, Dec 10, 2010 at 2:21 AM, mathijsdevaan mathijsdev...@gmail.com wrote:
Hi,
I have a dataset (CSV) with some counts of firms located around the globe.
Each count is assigned to the longitude and latitude of the specific
location. Now I want to plot these counts on a world map using
Oh, whoops I was looking for the vote up button and accidentally hit
Reply All.
On Fri, Dec 10, 2010 at 8:25 PM, Barry Rowlingson
b.rowling...@lancaster.ac.uk wrote:
On Fri, Dec 10, 2010 at 2:21 AM, mathijsdevaan mathijsdev...@gmail.com
wrote:
Hi,
I have a dataset (CSV) with some counts
Thanks for the suggestions, but I am not there yet (I'm a real novice). In
the code provided by Patrick (see below), I changed the shape input (from
sids to world) which I downloaded here:
http://thematicmapping.org/downloads/world_borders.php. As a result I also
need to change the CNTY_ID and id
Hi,
I have a dataset (CSV) with some counts of firms located around the globe.
Each count is assigned to the longitude and latitude of the specific
location. Now I want to plot these counts on a world map using dots (size of
dots represent the count). I have been unable to find any info on
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
project.org] On Behalf Of mathijsdevaan
Sent: Thursday, December 09, 2010 7:21 PM
To: r-help@r-project.org
Subject: [R] Projecting data on a world map using long/lat
Hi,
I have a dataset (CSV) with some
7 matches
Mail list logo