ONLINE COURSE - Visual Exploration, Analysis, and Presentation of Spatial
Data using the ?tmap? Package (TMAP01)
<https://www.prstats.org/course/online-course-stable-isotope-mixing-models-using-siber-siar-mixsiar-simm11/>
https://www.prstats.org/course/visual-exploration-analysis-and-presentation-of-spatial-data-using-the-tmap-package-tmap01/
6th - 9th May 2025
Instructor - Dr Martijn Tennekes
COURSE OVERVIEW: R statistical software is becoming increasingly popular
for spatial analysis and visualization?and for good reason. It is
reproducible, flexible, and supported by a vast ecosystem of R packages
dedicated to spatial data. An essential part of working with spatial data
is visualization, not only for communication but also for exploration and
analysis. This in-depth course focuses on the R package *tmap*, one of the
most widely used packages for spatial data visualization. The course covers
all key steps, from reading spatial data to publishing high-resolution
static maps or interactive maps that can be embedded in web articles and
dashboards. Participants will work with essential spatial data packages in
particular *sf*, *terra*, and *stars*. The course also addresses key
methodological aspects of spatial data visualization, including map
projections, selecting the most appropriate visualization method for a
given task, and choosing color schemes that account for accessibility and
cultural considerations. Innovative spatial visualization techniques are
also explored, including cartograms, grid maps (also known as
origin-destination maps), and glyph-based visualizations.
By the end of the course, participants will:
- Know how to use the core packages *sf*, *terra*, and *stars* to read
and process spatial data in R, including joining data sources and
performing geospatial data manipulations.
- Be able to use *tmap* for exploring, analysing, and presenting spatial
data.
- Create various types of thematic maps.
- Understand the methodological advantages and limitations of different
map types, enabling informed decisions based on data characteristics and
target users.
- Recognize key considerations when selecting a suitable colour palette.
- Be able to fine-tune map layouts in *tmap*, including adding map
components, customizing legends, and incorporating map insets.
- Know how to export maps in various static and interactive formats.
DAY 1 - *Classes from 12:00 ? 20:00 UK local time*
*Getting started *
- Overview of the core R packages for spatial data analysis and
visualisation.
- Overview of resources: online books, Stack Overflow, GitHub, etc.
- Methodology of spatial data visualisation.
- Creating common thematic map types using the R package *tmap*.
- Exploring colour palettes with the R package *cols4all*.
*DAY 2 - **Classes from 12:00 ? 20:00 **UK local time*
*Visualisation of spatial vector data in R*
- Introduction to map projections (coordinate reference systems).
- Working with vector data in R using the *sf* package.
- Reading and writing spatial vector data in various formats.
- Joining spatial and non-spatial data.
- Geospatial data manipulations.
- Visualisation of vector data with *tmap*.
- Using basemaps in *tmap*.
- Creating cartograms with the R package *tmap.cartogram*.
*DAY 3 - **Classes from 12:00 ? 20:00 **UK local time*
*Visualisation of spatial raster data in R*
- Working with raster data in R using the *terra* package.
- Working with spatiotemporal data cubes in R using the *stars* package.
- Reading and writing spatial raster data in various formats.
- Downsampling, warping, and transforming raster data.
- Converting spatial vector data to raster data and vice versa.
- Visualisation of raster data with *tmap*.
*DAY 4 - **Classes from 12:00 ? 20:00 **UK local time*
*Finalising and exporting maps*
- Exporting static maps to various formats, including bitmap (JPG, PNG)
and vector formats (SVG, PDF).
- Exporting interactive maps to HTML.
- Integrating *tmap* with the R package *shiny* for dashboards.
- Fine-tuning map layouts for high-quality publications.
- Extensibility of *tmap*
Please email oliverhooker at prstatistics.com with any questions.
Oliver Hooker PhD.
PR stats
[[alternative HTML version deleted]]