[R] Plotting data on a map

Bert Gunter bgunter.4567 at gmail.com
Wed Apr 6 19:16:18 CEST 2016


Did you check the "Spatial" task view page?

https://cran.r-project.org/web/views/Spatial.html

Cheers,
Bert


Bert Gunter

"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )


On Wed, Apr 6, 2016 at 2:20 AM,  <phiroc at free.fr> wrote:
> Hello,
>
> I would like to generate a small map (say 10cm x 10cm) of France showing cumulative numbers by Distribution Center
> stored in a database:
>
> DISTRIBUTION_CENTER                 COUNT
> Paris                               122
> Paris                               3
> Paris                               21
> Lyon                                12
> Lyon                                4444
> Lyon                                33
> Grenoble                            55
> Grenoble                            999
> Grenoble                            99
> ...
>
> I have looked at different graphing packages such as 'sp', 'raster' and 'ggplot2', but am not sure which one is most
> appropriate for my purposes. Furthermore, I don't understand how you retrieve city coordinates from shp, gadm, etc., maps
> generated, or downloaded from the web and then processed, with those packages (SHP, GADM, etc.), and plot data at those coordinates.
>
> Any help would be much appreciated.
>
> Many thanks.
>
> Philippe
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list