Welcome to the Introduction to Map Making in R Course! The basic structure for this course includes modules and an assignment that supplements each module. The module provides a walkthrough of the topic using heavily annotated code and real examples using ecological datasets. The assignments are to practice the code that was provided in the module and apply that code to new datasets. The modules are provided in .Rmd, .html, and recorded formats. The assignments are provided only in .Rmd format so you can code directly into the document. Choose which modules you would like to work through based on your background, but the modules are meant to be used as a whole unit in sequence. The goal of these modules is to provide code that builds on one another to help you go from raw spatial data to creating static or interaction maps that are nearing ready for publication. While I tried to make the material applicable to a wide range of data formats and subjects and cover a breadth of useful material, the information provided is not exhaustive of R’s spatial capabilities. Therefore, these materials should be used as a stepping stone for further understanding.
This workshop covers parts of tmap and leaflet along with an intro to spatial data wrangling. We will use various functions to wrangle, clean, and visualize spatial data, moving from messier or raw data to something that is manageable, summarized, or able to be mapped. The aim of this workshop is to teach participants basic and commonly used map making functions . I recommend using the tmap for static maps and leaflet for interactive maps over baseR or ggplot/spplot because they read similarly to tidyverse functions (built on the grammar of graphics).
This course was created by me, Dr. Shaley Valentine. All materials are available for use for personal and group learning purposes. For any learning distribution of these materials, credit must be provided to me the creator of the modules. These materials are not useable for commercial purposes nor for monetary gain.
This google drive folder (https://drive.google.com/drive/folders/1CsNp1B6BwSwsCgJ2Vh_vtaiJJpYiq7Qk?usp=sharing) contains the .Rmd, .html, and data files for this workshop.
Tutorial Videos:
Module 1: Reading, writing, projecting, cropping
Module 2: Wrangling spatial data