Course introduction

Description

This course is a hands-on introduction to spatial data analysis and visualization in R. Through a combination of theory, practical exercises, and applied challenges, you will learn to work with both vector and raster data, understand coordinate reference systems (CRS), perform spatial operations, and create both static and interactive maps. The course uses key packages from the R ecosystem such as sf, terra, ggplot2, and mapview. It is structured into theoretical lessons with quizzes, practical lessons, and exercises for students to apply what they’ve learned.

You will start by understanding what spatial data is and how it differs from non-spatial data. Throughout the course, you will develop skills to transform geometries, analyze raster layers, calculate indices such as NDVI, and represent geographic phenomena on maps. By the end, you will be able to carry out your own spatial data analyses and share results through dynamic web maps.

Prerequisites

  • Basic knowledge of R

  • Familiarity with tidyverse functions, including basic plots with ggplot2 and the pipeline is recommended.

Course contents

In this section, you can see a non-exhaustive summary of what you will cover in this course.

Introduction to Spatial Data Analysis and GIS in R

Unit 1 - Course Introduction

  • Course overview
  • Environment setup
  • Course materials

Unit 2a - Spatial Data (Theory)

  • Spatial vs Non-spatial data
  • Geometries
  • Simple features
  • Vector formats

Unit 2b - Spatial Data (Practice)

  • Downloading spatial data
  • Exploratory analysis
  • Import/Export
  • Properties
  • CHALLENGE 01 - proposed exercises

Unit 3a - Coordinate Reference Systems (Theory)

  • Importance of CRS
  • CRS, coordinates, georeferencing
  • Geographic vs Projected CRS
  • Projections
  • EPSG codes, proj4, WKT...

Unit 3b - Coordinate Reference Systems (Practice)

  • Exploring CRS
  • CRS transformation
  • CRS assignment
  • On-the-fly transformations
  • Web maps
  • CHALLENGE 02 - proposed exercises

Unit 4a - Geometry Operations (Theory)

  • Spatial predicates
  • Geometry measurements
  • Unary transformations
  • Binary transformations
  • Other operations

Unit 4b - Geometry Operations (Practice)

  • Predicate functions
  • Spatial filters
  • Spatial joins
  • Spatial measurements
  • Transformations (centroid, buffer..)
  • CHALLENGE 03 - proposed exercises

Unit 5a - Raster Data (Theory)

  • Definition of raster data
  • Types of resolution
  • Brief introduction to remote sensing
  • Common raster operations
  • Vegetation indices

Unit 5b - Raster Data (Practice)

  • Raster data exploration
  • Download Digital Elevation Model (DEM)
  • DEM derivatives
  • Crop, reclassify...
  • Arithmetic operations
  • Vegetation index calculation
  • RGB and false color compositions
  • CHALLENGE 04 - proposed exercises

Unit 6 - Static Maps

  • Map 01 - Population of Spain by municipality
  • Map 02a - Brown bear in Picos de Europa I
  • Map 02b - Brown bear in Picos de Europa II
  • Map 03 - Rivers of Galicia
  • Map 04 - Andean bear in Peru
  • Map 05 - Wildfire severity in Tenerife (2023)

Unit 7 - Web Maps

  • Map 01 - Population of Spain by municipality
  • Map 02 - Brown bear in Picos de Europa
  • Map 03 - Rivers of Galicia
  • Map 04 - Andean bear in Peru
  • Map 05a - Wildfire severity in Tenerife (synchronized)
  • Map 05b - Wildfire severity in Tenerife (side by side)

What’s inside the course

  • 150 lessons

  • 13 hours of video

  • All the course materials

  • Theoretical classes, practical sessions, quizzes, and proposed exercises

  • Additional bibliography

  • Quick answer to any student’s question

What will you learn

You will learn to analyze spatial data in R, with RStudio becoming your new Geographic Information System (GIS). Specifically, you will learn to:

  • Use the most important packages for GIS in R

  • Analyze vector and raster data

  • Download spatial data in R

  • Perform common operations on vector and raster data

  • Georeference data

  • Transform coordinate reference systems (CRS)

  • Create maps and web maps like the one below:

Student testimonials

Here you can find all the testimonials left by students of this course (both positive and negative).

Overall Rating

★★★★⯪ 4.6/5 (49 reviews)