Using R for Geospatial Data Analysis

· by Mikey Harper · Read in about 2 min · (280 words) ·
Mountain View


Although R is widely used for data processing and statistical modelling, it is less frequently known for its powers of handing Geospatial Data. This presentation is aimed to highlgiht why people may want to consider using R for their GIS, and highlight some of the benefits of using R in their analyses.

Why use R for GIS

There are many benefits of using R for GIS, but to me the top three reasons would be:

  • Integrate GIS and Statistial analysis: Load raw data, run analysis, and present the results all within a single script.
  • Repeatability (script): Once you design a map layout, you can easily recreate the results. If you ever need to recreate the script you can reuse the script easily.
  • Speed of development: it becomes very quick and easy to create map within R. This lets you quickly explore and analyse geospatial data.

It is not always the right decision to use R for GIS, and sometimes you may be better using ArcGIS. In particular, if you want to produce a bespoke, single map, you might be better off using the graphical interface of a GIS software package to design.


You can view the presentation on Slideshare here.

The full code for the presentation is available through GitHub. This provides all the data required to run the code if you would like to repeat the analysis conducted in the presentation: link to GitHub

Additional Resources

Geospatial analysis in R takes a while to get your head around. The following links are very useful for some further meeting: