Introduction to Spatial Data and ggplot2


For those starting out with spatial data in R, Robin Lovelace and I have prepared this tutorial (funded as part of the University of Leeds and UCL Talisman project). Here we introduce a range of analysis skills before demonstrating how you can deploy the powerful graphics capabilities of ggplot2 to visualise your results. There is also some “bonus” material at the end to show how you can use ggplot2 for descriptive buy cipro xr online statistics and so on. The tutorial covers:

-Introduction to ggplot2

-Map projections

-Adding Google and Stamen basemaps

-Clipping and joining spatial data

-Aggregating spatial data

-ggplot2 for descriptive statistics

Download the data you need from here.

This is a work in progress so we may add improvements as time goes on. We also have a few more tutorials in the pipeline that will be posted here in due course.

But, it is important to know if there is no natural arousal, will not cause a spontaneous erection, this is a myth born in the ranks of the townsfolk.

PDF download from here.


  1. Dave

    Is there more here than just an introduction? The text seems to imply there is much more content, but all I can see is an introduction.

    1. Hi Dave (and anyone else looking for the full version) – this is now published as an NCRM Working Paper – . You can seen the tutorial in context, and a video introduction to it here: .

      If you’re really keen, you can contribute to the evolution of this tutorial on it project’s github page: James and I hope to keep this updated . Cheers!

  2. Jane

    Great tutorial! I am a fisheries student at the University of Alaska Fairbanks. I found this material highly relevant to my research.

  3. Olivia

    Hi there,
    neat tutorial, but I had many issues getting it to knit (as opposed to getting the code to run, which worked great). Was the .Rmd written to be capable of knitting on other machines?

  4. Jannes

    I would really like to run the tutorial, but it seems that the rgdal package is not yet available for the latest OS X? I am using OSX 10.9.4 and RStudio 0.98.1049.
    Any suggestions and help?

    1. steven

      I’m having the same problem. I tried to track it down, but the issue is beyond my R skills currently. It seems that it might be possible to get the package in source mode, just not binary mode but I haven’t done anything like that yet.

  5. Anand Sookun

    Very helpful tutorial. Thanks.
    I would like to go further and do some interpolations with point data using geostatistical methods.
    Some good hints would be very welcome.

Comments are closed.