41

There are quite some nice possibilities to analyse spatial data in R and in the context of my current project I would like to use R more frequently to do that.

Until now I plot my maps with ggplot2 package that brings a lot of practical tools to plot and explore data. Still my maps are not nearly as good looking as the ones I used to plot in ArcGIS.

So for publishing purposes I wonder if there are any good tutorials, books, practical tips, packages etc. that I could use to experiment a little bit and make my maps more good looking?

PolyGeo
  • 65,136
  • 29
  • 109
  • 338
Dspanes
  • 1,401
  • 5
  • 17
  • 22
  • 2
    Not sure..but might be useful for you http://gis.stackexchange.com/questions/3083/examples-of-beautiful-maps/45518#45518 – Sunil Jan 23 '13 at 09:40
  • 1
    @Sunil These are great resources for R cartography - lots of useful code one can adapt and buid upon. You should add it as an answer. – radek Jan 23 '13 at 09:49

5 Answers5

24

In addition to the ones posted here, in the R gallery website there are a few examples:


other websites with tutorials and good mapping examples in R:

I hope this helps. The last one gives you one example with vector data and another with satellite imagery, while the r-bloggers has many other mapping examples with R.

Gago-Silva
  • 2,546
  • 2
  • 29
  • 48
9

According to your question the very good example is on this link . This link contains various beautiful map collections using R software . I am sure this will help you!!. I am also referring above site for reference.

Sunil
  • 4,763
  • 7
  • 43
  • 87
  • these are really beautifull maps. especially the London cycle hire. The code is fully provided. Some of the maps miss some basic features (legend, scale, northarrow etc.) but from a asthetic point of view they are great. thanks. – Dspanes Jan 23 '13 at 15:08
7

The ebook "Data mashups in R" is just 40 Pages long and will walk you through an example project (mapping foreclosures in Washington DC)

From the first reader-review :

This book presents an interesting project, drawing together a number of data sources and geocoding them.

I've once skimmed the PDF, want to have a closer look someday. It's on my to-do list.

knb
  • 433
  • 4
  • 12
  • thank you for the link. I've just checked out the book. It seems quite interesting and it's for free :) not that much layout advices though. – Dspanes Jan 23 '13 at 15:06
5

I have found a nice example R-script with several demonstrations of packages, map styling and also basic GIS operations. Maybe this'll come in handy for some readers.

Using R as a GIS

Curlew
  • 8,152
  • 5
  • 36
  • 72
1

If somebody is still following. Here you can find a huge amount of tutorials and links on diffrent mapping themes in R:

http://spatialanalysis.co.uk/r/

and for some basic stuff like legend, scalebar and north-arrow look at the code here: http://spatialanalysis.co.uk/2010/09/rmaps/

Dspanes
  • 1,401
  • 5
  • 17
  • 22