Spatial Analysis Using R Training Course

Duration 10 days 19 modules · 65 contact hours
Level Intermediate Certificate on completion
Who attends Data Analyst, GIS Analyst 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-DS-068

Before you join: Participants should be comfortable working with datasets in R, including importing files, using data frames, writing basic functions and reading 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 data is central to decisions about service coverage, infrastructure investment, environmental risk, market access and public safety. Yet many analysts receive locations as spreadsheets, GPS records, administrative boundaries, satellite rasters or web-service layers without a reliable method for checking coordinate systems, joining datasets, measuring spatial patterns and communicating results. Poorly prepared spatial analysis can misstate distances, duplicate observations, obscure boundary effects or produce maps that lead decision-makers to the wrong conclusion.

This course teaches participants to conduct reproducible spatial analysis in R using vector and raster data. Participants work with the sf and terra ecosystems to import, clean, transform, join, query and visualise geospatial data. They apply coordinate reference systems, spatial joins, buffers, overlay analysis, distance measures, point-pattern methods, spatial autocorrelation, interpolation and suitability modelling. The course also covers map design, uncertainty, reproducible reporting and defensible interpretation of geographically referenced results.

Training combines focused technical briefings with guided case work based on public-service planning, retail territory analysis, environmental monitoring and asset-management scenarios. Participants build analysis scripts and map outputs throughout the course, then complete a capstone analysis from problem definition through presentation. They leave with a reusable R project structure, documented scripts, map templates, spatial-analysis checklists and a completed analysis suitable for adaptation to their own data.

The course suits analysts who already work with data and need to add spatial methods to their reporting, planning or research responsibilities. It is particularly relevant to teams working with customer locations, facilities, administrative areas, field observations, networks, land parcels, environmental measurements or satellite-derived data.

What you will be able to do

  • Import and validate vector, raster and tabular spatial datasets in R
  • Transform coordinate reference systems and assess positional accuracy for analysis
  • Perform spatial joins, overlays, buffers and distance-based accessibility analysis
  • Measure point patterns and spatial autocorrelation using established statistical methods
  • Build raster surfaces through interpolation, reclassification and weighted suitability modelling
  • Produce decision-ready thematic maps using sound cartographic design principles
  • Create reproducible spatial analysis workflows with documented R scripts and project structures
  • Present a complete spatial analysis with assumptions, limitations and recommendations

Benefits of attending

For you

  • Produce reproducible maps and spatial analyses rather than one-off GIS outputs
  • Assess location-based claims using appropriate distance, area and pattern measures
  • Add spatial statistics and interpolation methods to analytical project work
  • Present geographic findings with stated assumptions and defensible limitations
  • Build a portfolio-quality R spatial analysis for professional use

For your organisation

  • Improve evidence for facility placement, service coverage and territory decisions
  • Reduce errors caused by incompatible projections, invalid geometries and weak joins
  • Standardise repeatable spatial workflows across analyst teams
  • Turn location data into documented maps, indicators and decision briefs
  • Strengthen review of geographic risk, demand and environmental exposure

Course modules

19 modules over 10 days

Participants can structure an R project and distinguish core spatial data models.

  • Spatial questions framed as location, proximity, pattern and allocation problems
  • Vector features represented as points, lines, polygons and attribute tables
  • Raster grids represented through cells, bands, extent and resolution
  • R project structure separates raw data, scripts, outputs and documentation
  • Package roles across sf, terra, dplyr, ggplot2 and tmap
  • Reproducibility practices using relative paths, scripts and session information

Participants can import common spatial formats and inspect their essential properties.

  • Read GeoPackage, GeoJSON, shapefile and CSV location data into R
  • Import GeoTIFF rasters and inspect bands, resolution and missing values
  • Examine feature counts, field types, extents and geometry classes
  • Identify invalid coordinates, duplicate records and incomplete location attributes
  • Use glimpse, summary and plot for initial spatial data inspection
  • Document data provenance, collection dates, licences and known limitations

Participants can select coordinate reference systems and correct common geometry issues.

  • Geographic and projected coordinate systems distinguished by measurement purpose
  • EPSG codes identify coordinate reference system definitions consistently
  • Transform layers with st_transform before distance, area or buffer calculations
  • Select local projected systems appropriate for metric analysis requirements
  • Validate polygon geometry using st_is_valid and st_make_valid
  • Detect axis-order, datum and unit mismatches before combining datasets

Participants can prepare spatial attributes for reliable joins, summaries and modelling.

  • Standardise identifiers, date fields, categories and numeric measurement units
  • Join tabular indicators to boundaries using checked key relationships
  • Aggregate records by administrative area, facility or service catchment
  • Calculate rates, densities and denominators before mapping area comparisons
  • Handle missing values without converting absence into geographic zeroes
  • Create derived variables with documented formulas and source fields

Participants can use spatial predicates and overlays to create analytical datasets.

  • Spatial predicates test intersects, within, contains, touches and overlaps relationships
  • Clip features with st_intersection using a defined study-area boundary
  • Dissolve polygons after grouping by region, class or reporting unit
  • Extract point attributes from containing administrative or service polygons
  • Filter features by geometry type, attribute condition and spatial extent
  • Compare intersection, union, difference and symmetric difference outputs

Participants can measure proximity and define defensible service catchment areas.

  • Generate fixed-distance buffers around facilities, incidents and monitoring locations
  • Calculate nearest-feature distances using st_distance and spatial indexing
  • Summarise population, assets or demand points within buffer zones
  • Compare Euclidean distance assumptions with network travel-time requirements
  • Build concentric rings for graduated access and exposure analysis
  • Report buffer parameters, projected units and boundary treatment explicitly

Participants can prepare point-location data and assess its positional fitness for purpose.

  • Geocode addresses only after standardising locality, street and postal fields
  • Assess match quality through confidence scores, duplicates and unmatched records
  • Check coordinates against expected country, district and operational boundaries
  • Identify swapped latitude-longitude values and implausible zero-coordinate records
  • Mask sensitive point locations through aggregation, jittering or displacement
  • Record positional accuracy and privacy decisions within metadata notes

Participants can produce thematic maps that accurately communicate spatial comparisons.

  • Choose choropleth, proportional-symbol, dot-density and reference map types
  • Classify choropleths using quantiles, equal intervals and natural breaks
  • Apply sequential, diverging and qualitative colour schemes appropriately
  • Design legends, labels, scale bars and north arrows purposefully
  • Use tmap layouts for consistent map series and reporting outputs
  • Avoid misleading visual comparisons caused by area size or classification choices

Participants can prepare raster datasets for surface-based spatial analysis.

  • Inspect raster coordinate systems, extent, resolution, layers and cell values
  • Crop and mask rasters to defined study-area boundaries
  • Resample raster layers using nearest-neighbour or bilinear interpolation methods
  • Align grids before cell-by-cell calculations and multi-layer modelling
  • Reclassify continuous values into analytical categories and thresholds
  • Extract raster values at points, lines and polygon zones

Participants can derive terrain indicators and interpret environmental raster surfaces.

  • Derive slope, aspect and hillshade from digital elevation models
  • Calculate terrain ruggedness for route, habitat and hazard assessments
  • Apply focal operations to smooth, summarise or detect local variation
  • Calculate zonal statistics for administrative areas and management units
  • Interpret resolution effects on terrain measures and environmental indicators
  • Document raster source dates, processing steps and resampling choices

Participants can create and evaluate interpolated surfaces from sampled point data.

  • Assess sampling distribution before interpolating rainfall, pollution or soil measurements
  • Create inverse distance weighting surfaces with stated power parameters
  • Compare ordinary kriging assumptions with inverse distance weighting outputs
  • Set interpolation extent, cell size and neighbourhood search parameters
  • Validate predictions using holdout points and residual error summaries
  • Map prediction uncertainty separately from estimated measurement surfaces

Participants can assess whether observed point events are clustered, dispersed or random.

  • Define an observation window before analysing incident or event locations
  • Map event intensity using kernel density estimation parameters explicitly
  • Compare observed patterns with complete spatial randomness assumptions
  • Use nearest-neighbour distances to assess local point concentration
  • Interpret edge effects and reporting bias in observed event datasets
  • Distinguish event counts from exposure-adjusted rates and risks

Participants can test and interpret spatial dependence in area-based indicators.

  • Construct spatial weights from contiguity, distance bands or nearest neighbours
  • Calculate global Moran's I for overall spatial autocorrelation assessment
  • Map local Moran's I clusters and spatial outlier areas
  • Interpret high-high, low-low, high-low and low-high cluster categories
  • Assess multiple-testing concerns when interpreting local significance maps
  • Separate spatial association findings from causal claims about outcomes

Participants can diagnose when conventional regression requires spatial modelling approaches.

  • Test regression residuals for spatial autocorrelation before drawing conclusions
  • Compare spatial lag and spatial error model interpretations
  • Specify geographically weighted regression as an exploratory local model
  • Assess multicollinearity, residual patterns and model fit diagnostics
  • Interpret coefficients without confusing association, prediction and causation
  • Report neighbourhood definitions and model assumptions alongside results

Participants can build transparent raster-based suitability models for location decisions.

  • Frame site-selection criteria, constraints and decision rules with stakeholders
  • Reclassify slope, distance, land cover and risk criteria
  • Standardise criteria scores before combining layers with different measurement scales
  • Apply weighted linear combination for transparent suitability scoring
  • Test sensitivity to alternative criterion weights and threshold values
  • Exclude restricted areas using Boolean constraint masks before ranking

Participants can distinguish network accessibility measures from straight-line proximity measures.

  • Represent road networks as nodes, edges, direction and travel costs
  • Calculate shortest paths using distance, time or impedance weights
  • Define service areas from travel-time thresholds and network constraints
  • Compare facility access results with Euclidean buffer approximations
  • Identify underserved populations outside defined travel-time service areas
  • State network date, speed assumptions and excluded transport modes

Participants can package spatial analysis outputs for review, reuse and audit.

  • Organise scripts into import, preparation, analysis and reporting stages
  • Parameterise study areas, dates and thresholds for repeatable updates
  • Generate maps, tables and narrative findings using Quarto documents
  • Record package versions, sources and processing decisions for audit
  • Apply quality checks before publishing figures, files and derived datasets
  • Write methods statements that explain uncertainty and analytical limitations

Participants can assess the credibility and decision relevance of spatial findings.

  • Translate decision questions into measurable spatial indicators and comparison groups
  • Review maps for denominator choice, classification and visual bias
  • Challenge causal interpretations based solely on geographic correlation patterns
  • Compare alternative assumptions through scenario maps and sensitivity tables
  • Prioritise findings by operational consequence, uncertainty and implementation feasibility
  • Present recommendations with clear geographic scope and evidence boundaries

Participants can build, review and present a complete reproducible spatial analysis addressing a defined decision problem.

  • Define a decision question, study area, indicators and analytical boundaries
  • Prepare source data, validate geometries and document coordinate reference systems
  • Select vector, raster or statistical methods suited to evidence needs
  • Build reproducible R scripts, maps, tables and quality-control checks
  • Review assumptions, uncertainty, privacy constraints and interpretation limitations
  • Present findings, recommendations and implementation implications to a decision audience

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

What you take back to work

  1. Reusable R spatial project template
  2. Coordinate reference system selection checklist
  3. Spatial data quality assessment checklist
  4. Thematic map design template
  5. Raster suitability model template
  6. Completed capstone spatial analysis

Who should attend

  • Data Analyst — adds location-based evidence to operational and management reporting
  • GIS Analyst — applies reproducible R workflows alongside desktop GIS tools
  • Business Intelligence Analyst — analyses customer, branch, territory and service-location data
  • Environmental Analyst — evaluates monitoring sites, land cover and exposure patterns
  • Urban Planner — measures accessibility, service catchments and area-based indicators
  • Monitoring and Evaluation Specialist — maps programme coverage and geographic disparities

Skills and tools covered

Spatial data preparationCoordinate reference systemsVector overlay analysisRaster suitability modellingSpatial statisticsCartographic communication

Tools and standards

R, sf, terra, tmap

How the course runs

Training methodology

The course uses short instructor briefings followed by structured work in R. Participants inspect real spatial datasets, write and review scripts, compare analytical choices and interpret outputs in small groups. Cases include branch accessibility, flood exposure, programme coverage and environmental monitoring. Trainers demonstrate methods first, then participants apply them to progressively more demanding tasks. Facilitated reviews focus on assumptions, coordinate systems, parameter choices, map readability and statistical interpretation. The final sessions are dedicated to planning, building and presenting a complete spatial analysis.

Requirements and prerequisites

Participants should be comfortable working with datasets in R, including importing files, using data frames, writing basic functions and reading error messages. Prior experience with dplyr, ggplot2 or a similar data-wrangling workflow is useful. Participants should understand descriptive statistics and be able to interpret charts and tables. Familiarity with geographic data, GIS software, coordinate systems or spatial statistics is helpful but not required. The course does not require prior programming beyond practical R basics, advanced mathematics, remote-sensing expertise or previous use of ArcGIS or QGIS.

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 import data, work with data frames and run basic R scripts. Prior GIS experience is useful but not required; the course introduces spatial data structures and coordinate reference systems from first principles.

Bring a laptop capable of running a current version of R and RStudio, with permission to install packages if your organisation requires it. Participants may bring non-sensitive work data, subject to organisational data-handling rules.

The course is designed for analysts, GIS practitioners, planners, researchers and monitoring specialists who use location-based data. It is most useful for people who need reproducible analysis rather than map production alone.

General GIS courses often focus on desktop software workflows, while general R courses focus on programming foundations. This course concentrates on spatial reasoning, R-based geoprocessing, spatial statistics, raster analysis and reporting.

You can adapt the project structure and scripts to tasks such as facility coverage analysis, customer territory assessment, environmental monitoring, incident mapping and site selection. The course emphasises methods that can be documented, reviewed and repeated when data updates.

Each training day runs from 08:30 to 16:30 and provides about 6.5 contact hours. The first week establishes data preparation, mapping and vector methods; the second week covers rasters, spatial statistics, modelling, reporting and the capstone.

Questions about this course?

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