Open-Source Spatial Analytics (R) Online Course

In this course, you will learn to work within the free and open-source R environment with a specific focus on working with and analyzing spatial data. We will cover a wide variety of data and spatial data analytics topics, and you will learn how to code in R along the way. This course is designed for someone with some prior GIS knowledge. For example, you should know the basics of working with maps, map projections, and vector and raster data. You should be able to perfrom common spatial analysis tasks and make map layouts. If you do not have a GIS background, I would recommend checking out our Introduction to GIScience class. We do not assume that you have any prior experience with R or with coding. So, don't worry if you haven't developed these skillsets yet. That is a major goal in this course.

Backgound material will be provided using code examples, videos, and presentations. Most of the data will be provided so that you can follow along. We have also provided assignments and a term project. Data for the assignments are provided in the Sequencing and Resources section. This section also includes a suggested sequence for working through the material. Feel free to point out issues or provided suggestions.

This course was produced by West Virginia View ( with support from AmericaView ( This material is based upon work supported by the U.S. Geological Survey under Grant/Cooperative Agreement No. G18AP00077. The views and conclusions contained in this document are those of the authors and should not be interpreted as representing the opinions or policies of the U.S. Geological Survey. Mention of trade names or commercial products does not constitute their endorsement by the U.S. Geological Survey.

After completing this course you will be able to:

  1. prepare, manipulate, query, and generally work with data in R
  2. perform data summarization, comparisons, and statistical tests
  3. create quality graphs, map layouts, and interactive web maps to visualize data and findings
  4. present your research, methods, results, and code as web pages to foster reproduceable research work with spatial data in R
  5. analyze vector and raster data to answer a question with a spatial component
  6. make spatial models and predictions using regression and machine learning
  7. code in the R language at an intermediate level

Data and Resources

Additional Info

Field Value
Last Updated November 2, 2021, 16:44 (UTC)
Created November 2, 2021, 16:19 (UTC)