R statistical software is becoming increasingly popular for interactive spatial visualization—and for good reason. It brings together the best of both worlds: a powerful data science environment where just a few lines of code are often sufficient to produce sophisticated results. The bridge to modern web mapping is formed through state-of-the-art JavaScript libraries such as Leaflet, Mapbox, and MapLibre, allowing R users to create rich, interactive maps that can be explored in a web browser. This course teaches you how to create interactive maps in R using the tmap package, which provides a simple and consistent grammar for mapmaking. Using Leaflet as the default interactive backend, you will learn how to build dynamic maps directly from R that allow users to zoom, pan, and interact with spatial data. In addition, the course introduces the new tmap.mapgl extension, which enables high-performance web maps powered by Mapbox and MapLibre GL, making it possible to visualize large spatial datasets smoothly in the browser. By the end of the course, you will be able to create, customize, and publish interactive maps that can be shared online or embedded in dashboards and applications.
[PR Stats]https://prstats.org/course/interactive-maps-with-tmap-and-shiny-imts01/)
| New York (EDT) | London (BST) | Amsterdam (CEST) | |
|---|---|---|---|
| Session | 10:00–10:50 | 15:00–15:50 | 16:00–16:50 |
| Short Break | 10:50–11:10 | 15:50–16:10 | 16:50–17:10 |
| Session | 11:10–12:00 | 16:10–17:00 | 17:10–18:00 |
| --- | --- | --- | --- |
| Long Break | 12:00–13:00 | 17:00–18:00 | 18:00–19:00 |
| --- | --- | --- | --- |
| Session | 13:00–13:50 | 18:00–18:50 | 19:00–19:50 |
| Short Break | 13:50–14:10 | 18:50–19:10 | 19:50–20:10 |
| Session | 14:10–15:00 | 19:10–20:00 | 20:10–21:00 |
Day 1 (Wednesday 27th)
- Introduction to tmap
- The interactive view mode
- Legends and other map components
- Layer groups and controls
Day 2 (Thursday 28th)
- Review of exercises
- Interactive features (tooltips and popups)
- Introduction to tmap.mapgl
- 3D maps and high-performance web maps
Day 3 (Friday 29th)
- Review of exercises
- Exporting and sharing interactive maps
- Integrating tmap with Shiny dashboards
- Putting it all together: building a complete interactive map application
Package home pages
Books
- *Spatial Data Visualization with tmap (in progress) Martijn Tennekes and Jakub Nowosad
- Geocomputation with R Robin Lovelace, Jakub Nowosad and Jannes Muenchow
- Spatial Data Science - With Applications in R Edzer Pebesma and Roger Bivand