Learn the fundamentals of working with spatial data in R. Cover vector and raster data, coordinate systems, and your first spatial visualizations.
Tutorial series
R Spatial Analysis
5 tutorials — follow in order for the best learning path.
- Introduction to Spatial Data in R
- Spatial Data Analysis with sf and terra in R
Spatial data analysis with sf and terra in R: transform coordinates, perform spatial joins, and process raster and vector GIS data with modern geospatial tools.
- Geocoding Addresses and Building Maps in R with Leaflet
Geocoding addresses in R with tidygeocoder, converting to sf objects, and building static ggplot2 and interactive Leaflet maps for spatial visualization.
- Spatial Joins in R: A Complete Guide with sf
A practical guide to combining geospatial datasets in R using sf and dplyr. Learn spatial joins based on geographic relationships, not common keys.
- Raster Analysis in R
Perform advanced raster analysis in R using the terra package. Learn terrain analysis, zonal statistics, and multi-band operations.