R Programming for Spatial Analytics Training Course

Duration 10 days 17 modules · 65 contact hours
Level Intermediate Certificate on completion
Who attends GIS Analysts, Remote Sensing Analysts and others
Fee from USD 2,200 KSh 190,000 for Kenyan organisations
Where 52 cities + online See dates by city
Next start 16 Nov 2026 Course code SD-GRS-158

Before you join: Participants should be comfortable writing and running basic R scripts, importing CSV files, using objects, vectors and data frames, and reading simple error messages.

Dates & prices

Two start dates a month in every city, and live online on weekdays or weekends. Fees are per participant; classroom fees include tuition, materials, lunch and refreshments, and the certificate.

Suggest a date or city

Showing the next six months. Later dates, other cities and private deliveries for your team are available on request.

Course overview

Spatial analysts increasingly need to combine field observations, administrative boundaries, satellite imagery, sensor feeds and business data into analyses that can be checked, repeated and explained. Spreadsheet workflows and desktop-only GIS projects often make this difficult: coordinate reference systems are inconsistently applied, raster processing is slow, analytical steps are poorly documented, and map outputs cannot easily be refreshed. R provides a practical environment for building spatial workflows that move from raw data to defensible maps, models and reports.

This course develops intermediate R skills for vector, raster and spatial statistical analysis. Participants work with the modern R spatial stack, including sf for vector data, terra for raster data and targets for reproducible pipelines. They import and validate geospatial data; manage coordinate reference systems; perform spatial joins, overlays, buffers and network-related calculations; process multispectral raster data; calculate vegetation and change indices; create static and interactive maps; and apply point-pattern, interpolation and spatial regression methods. The course also addresses performance, data provenance, quality assurance and publication-ready reporting.

Instruction combines concise technical briefings with guided case work drawn from land administration, public health, infrastructure planning, environmental monitoring, financial access and humanitarian operations. Participants progressively assemble an R-based spatial analysis project using supplied datasets or an approved work-related dataset. They leave with a documented spatial workflow, reusable R scripts, map templates, validation checklists and a completed capstone analysis suitable for adaptation to workplace requirements.

The course is suited to GIS professionals, analysts, researchers and technical specialists who already use R or have completed an introductory R course. It is particularly useful for teams that need repeatable spatial analysis rather than one-off map production.

What you will be able to do

  • Build reproducible R projects for vector, raster and tabular spatial data
  • Transform and validate coordinate reference systems using sf and PROJ definitions
  • Perform spatial joins, overlays, buffers and proximity analyses on vector datasets
  • Process satellite and raster data using terra, including resampling and index calculation
  • Apply spatial interpolation, point-pattern analysis and spatial regression methods
  • Produce publication-ready static maps and interactive web maps from R
  • Create automated spatial analysis pipelines using targets and parameterised reports
  • Present a documented end-to-end spatial analysis addressing a defined operational question

Benefits of attending

For you

  • Produce repeatable spatial analyses without relying on manual GIS processing chains
  • Diagnose projection, geometry and attribute errors before they affect decisions
  • Add satellite imagery and raster indicators to existing analytical work
  • Create documented R reports that explain spatial methods and assumptions
  • Build a portfolio-ready spatial analysis project with reusable code

For your organisation

  • Reduce manual rework when maps and spatial indicators require regular updates
  • Improve auditability through documented code, inputs and analytical assumptions
  • Combine operational data with boundaries, imagery and location-based indicators
  • Strengthen quality control for coordinate systems, geometry validity and data joins
  • Provide decision-makers with repeatable maps, models and spatial evidence

Course modules

17 modules over 10 days

Participants can configure a reproducible R project and inspect spatial datasets before analysis.

  • R project structure, scripts, packages and reproducible session configuration
  • Import tabular coordinates using readr, dplyr and explicit data types
  • Inspect spatial data quality with summaries, plots and missing-value checks
  • Use RStudio projects and renv for isolated package environments
  • Document assumptions with Quarto notebooks and parameterised code chunks
  • Apply tidy data principles to attribute tables and lookup keys

Participants can select, read and inspect appropriate vector, raster and tabular spatial data formats.

  • Vector geometries: points, lines, polygons, multipolygons and geometry collections
  • Raster grids, cell resolution, extent, bands and no-data values
  • Read GeoPackage, GeoJSON, Shapefile, GeoTIFF and NetCDF spatial files
  • Compare feature attributes, geometry columns and raster cell values
  • Use GDAL drivers to identify supported spatial data formats
  • Assess file metadata, licensing terms and source provenance records

Participants can identify, transform and verify coordinate reference systems for reliable spatial analysis.

  • Geographic and projected coordinate reference systems distinguished through measurement purpose
  • Inspect EPSG codes, WKT definitions and axis-order metadata
  • Transform sf objects with st_transform and documented target CRS
  • Select projected coordinate systems for area, distance and direction calculations
  • Diagnose misplaced layers caused by incorrect or missing CRS metadata
  • Measure positional accuracy, scale effects and coordinate precision limits

Participants can clean, transform and combine vector datasets using sf and tidyverse methods.

  • Create sf objects from coordinate columns and known coordinate systems
  • Validate polygon geometries with st_is_valid and st_make_valid
  • Repair duplicated features, empty geometries and invalid ring structures
  • Filter, mutate and summarise spatial attributes with dplyr verbs
  • Cast geometry types using st_cast for analysis-ready feature layers
  • Write cleaned vector layers to GeoPackage with explicit layer names

Participants can calculate spatial relationships and produce vector-derived analytical datasets.

  • Spatial predicates identify intersects, contains, touches, crosses and within relationships
  • Join attributes by location using st_join and explicit predicates
  • Buffer facilities using st_buffer with suitable projected coordinate systems
  • Intersect boundaries and assets using st_intersection for overlay analysis
  • Calculate nearest-feature distances with st_nearest_feature and st_distance
  • Dissolve administrative units using group_by and summarise geometry operations

Participants can generate proximity and accessibility indicators for service, asset and population analysis.

  • Calculate polygon areas and perimeters using appropriate projected coordinate systems
  • Build distance bands around assets with multi-ring buffer methods
  • Estimate population coverage through boundary overlays and weighted aggregation
  • Compare Euclidean distance assumptions with road-network travel-time measures
  • Identify underserved zones using threshold-based access indicators
  • Map service catchments with transparent assumptions and sensitivity checks

Participants can prepare raster datasets for spatial analysis using terra workflows.

  • Create SpatRaster objects from single-band and multiband GeoTIFF files
  • Inspect raster extent, resolution, coordinate system and layer names
  • Crop and mask imagery using vector areas of interest
  • Resample rasters using nearest-neighbour and bilinear interpolation methods
  • Align grids before cell-by-cell comparison or raster algebra
  • Manage no-data values, categorical classes and raster attribute tables

Participants can derive and interpret spectral indices and classified land-cover outputs.

  • Band combinations for Sentinel-2 and Landsat multispectral imagery interpretation
  • Calculate NDVI, NDWI and NDBI using raster algebra
  • Apply cloud masks and quality-assurance bands before index calculation
  • Classify land cover using supervised training samples and random forests
  • Assess classification accuracy with confusion matrices and validation samples
  • Summarise land-cover composition within administrative or project boundaries

Participants can quantify raster change and summarise raster indicators within defined zones.

  • Difference vegetation indices between dates using aligned raster stacks
  • Detect threshold-based change areas and remove isolated raster cells
  • Calculate zonal statistics for districts, catchments and protected areas
  • Extract raster values at monitoring points and survey locations
  • Aggregate temporal raster series into seasonal and annual indicators
  • Report uncertainty arising from resolution, timing and classification error

Participants can produce clear static maps that communicate spatial patterns and uncertainty.

  • Map vector layers with ggplot2, geom_sf and coordinate-aware scales
  • Select sequential, diverging and categorical colour schemes for mapped variables
  • Classify choropleth data using quantiles, natural breaks and fixed thresholds
  • Add labels, scale bars, north arrows and source notes
  • Represent uncertainty through transparency, hatching and confidence intervals
  • Apply cartographic hierarchy to titles, legends and visual emphasis

Participants can create interactive maps and communicate analytical findings to non-specialist audiences.

  • Build Leaflet maps with basemaps, popups, legends and layer controls
  • Configure interactive feature styling from attribute values and classification rules
  • Publish self-contained HTML maps with embedded data and dependencies
  • Select map interactions appropriate for operational and executive audiences
  • Write map annotations that distinguish observation, inference and recommendation
  • Compare static reporting maps with exploratory interactive map products

Participants can assess clustering, dispersion and spatial dependence in point and area data.

  • Construct point patterns with study windows and observation boundaries
  • Calculate nearest-neighbour indices for clustered or dispersed event locations
  • Estimate kernel density surfaces using bandwidth selection principles
  • Measure global Moran's I for spatial autocorrelation in area data
  • Map local indicators of spatial association using LISA statistics
  • Interpret significance tests while accounting for multiple spatial comparisons

Participants can generate and assess interpolated surfaces from sampled point observations.

  • Prepare sampled point data for interpolation and exploratory variogram analysis
  • Apply inverse distance weighting with documented power and neighbourhood settings
  • Fit empirical variograms using range, sill and nugget parameters
  • Generate ordinary kriging predictions and associated prediction variance
  • Compare interpolation methods using holdout validation and error metrics
  • Mask prediction surfaces to valid geographic study areas

Participants can identify spatial dependence and fit appropriate models for area-based outcomes.

  • Define spatial weights matrices using contiguity and distance-based neighbours
  • Test regression residuals for remaining spatial autocorrelation patterns
  • Fit spatial lag models for diffusion and interaction processes
  • Estimate spatial error models when omitted effects are spatially correlated
  • Compare ordinary least squares and spatial models using diagnostics
  • Communicate coefficient interpretation, uncertainty and model limitations clearly

Participants can automate spatial workflows and implement quality checks for repeatable outputs.

  • Structure analysis stages as targets pipeline dependencies and outputs
  • Separate raw, interim and published spatial data directories
  • Parameterise dates, boundaries and thresholds in Quarto reports
  • Create automated checks for CRS, geometry validity and missing attributes
  • Record source metadata, processing decisions and analytical version identifiers
  • Profile slow code and reduce raster memory use strategically

Participants can frame a spatial analytical question, select suitable methods and specify defensible outputs.

  • Translate operational questions into measurable spatial indicators and decision rules
  • Define units of analysis, temporal windows and geographic boundaries
  • Match vector, raster and statistical methods to evidence requirements
  • Identify confounding, spatial bias and ecological fallacy risks
  • Design validation criteria for maps, models and derived indicators
  • Prepare concise findings for technical reviewers and decision-makers

Participants can build, review and present a complete reproducible spatial analysis addressing a defined business or public-service question.

  • Frame a decision question, spatial extent and measurable analytical objective
  • Assemble vector, raster and tabular inputs with documented provenance
  • Build an R pipeline for preparation, analysis, mapping and reporting
  • Apply validation checks to coordinate systems, geometry and derived outputs
  • Review methods, maps and limitations against peer feedback criteria
  • Present findings, recommendations and reproducibility requirements to stakeholders

Exercises and examples are adapted to each cohort's sectors and roles.

What you take back to work

  1. Reproducible R spatial project template
  2. Coordinate reference system validation checklist
  3. Vector and raster processing script library
  4. Spatial analysis method selection guide
  5. Static and interactive map templates
  6. Documented capstone analysis report

Who should attend

  • GIS Analysts — need reproducible alternatives to manual desktop GIS processing
  • Remote Sensing Analysts — need R workflows for imagery preparation and index analysis
  • Data Analysts — need to incorporate location, boundaries and distance into business analysis
  • Environmental Scientists — need auditable methods for habitat, land-cover and monitoring studies
  • Urban and Infrastructure Planners — need evidence from accessibility, service-area and proximity analysis
  • Public Health and Humanitarian Analysts — need location-based methods for targeting and resource allocation

Skills and tools covered

Spatial data wranglingRaster image processingSpatial statistical modellingCartographic communicationReproducible R workflowsGeospatial quality assurance

Tools and standards

R, sf, terra, targets

How the course runs

Training methodology

The course uses short instructor briefings followed by guided work in RStudio. Participants examine realistic spatial datasets, diagnose data-quality issues, construct vector and raster workflows, and compare analytical choices through structured group discussion. Cases include service access, land-cover change, disease incidence and infrastructure proximity. Demonstrations show how code, maps and reports fit into a reproducible project. Each participant applies the methods to a progressive analysis, receives technical feedback, and completes a capstone presentation during the final module.

Requirements and prerequisites

Participants should be comfortable writing and running basic R scripts, importing CSV files, using objects, vectors and data frames, and reading simple error messages. Familiarity with dplyr and ggplot2 is useful. Participants should understand basic GIS concepts, including layers, attributes, coordinates and map projections, gained through work experience or prior GIS training. Experience with R spatial packages, remote sensing software, spatial statistics or command-line tools is not required. The course does not assume advanced mathematics, software development experience or prior use of commercial GIS software.

A typical training day

08:30 – 10:30First session
10:30 – 10:45Refreshment break
10:45 – 12:30Second session
12:30 – 13:30Lunch and networking
13:30 – 15:00Third session
15:00 – 15:15Refreshment break
15:15 – 16:30Workshop and daily review

Live online deliveries follow the same structure in East Africa Time, with shorter screen blocks and longer breaks.

What the fee includes

  • Instruction by a practitioner facilitator
  • Full course workbook and materials
  • Exercise files, templates and case studies
  • Refreshments and lunch on classroom deliveries
  • Certificate of completion
  • Post-course application plan

Frequently asked questions

You should be able to run basic R scripts, work with data frames and import tabular data. You do not need prior experience with sf, terra, spatial statistics or remote sensing software.

Bring a laptop capable of running R and RStudio, with permission to install packages if your organisation permits it. Training datasets and installation guidance are provided; an approved work dataset may also be used during application sessions.

The course is designed for GIS analysts, data analysts, remote sensing specialists, researchers and technical planners with basic R knowledge. It suits people who need repeatable analysis, not only map production.

Desktop GIS courses focus primarily on graphical tools, while this course builds coded, reproducible workflows in R. Introductory R courses teach general programming foundations; this course assumes those foundations and applies them to spatial data.

You can adapt the project structure, validation checks and processing scripts to recurring mapping, service-access, environmental monitoring or asset-analysis work. The capstone approach also provides a model for documenting methods and presenting results to reviewers.

Each training day runs from 08:30 to 16:30 and provides about 6.5 contact hours. The first week establishes vector, raster and mapping workflows; the second week covers spatial statistics, automation, quality assurance and the final capstone.

Questions about this course?

Ask about dates, fees, group bookings or running it for your team. Our training team replies by email.