• R Advanced Spatial Lessons
  • Prerequisites
  • Setup
    • 0.1 Install software
    • 0.2 Launch RStudio
    • 0.3 Create RStudio project
      • 0.3.1 Create relative path to data folder
    • 0.4 Download data
    • 0.5 Install R Packages
    • 0.6 Create Rmarkdown file
  • 1 Tidy Spatial Analysis
    • 1.1 Overview
    • 1.2 Prerequisites
    • 1.3 States: read and plot
    • 1.4 Challenge: analytical steps?
      • 1.4.1 Answers
    • 1.5 Regions: calculate % water
    • 1.6 Regions: plot
    • 1.7 Regions: ggplot
    • 1.8 Regions: recalculate area
    • 1.9 Challenge: project & recalculate area
      • 1.9.1 Answers
    • 1.10 Key Points
  • 2 Interactive Maps
    • 2.1 Overview
    • 2.2 Things You’ll Need to Complete this Tutorial
    • 2.3 States: ggplot2
    • 2.4 States: plotly
    • 2.5 States: mapview
    • 2.6 States: leaflet
      • 2.6.1 Choropleth
      • 2.6.2 Popups and Legend
    • 2.7 Challenge: leaflet for regions
      • 2.7.1 Answers
    • 2.8 Raster: leaflet
    • 2.9 Key Points
  • References
  • Published with bookdown

R Advanced Spatial Lessons

References

Spatial Analysis in R books

  • Geocomputation with R - robinlovelace.net/geocompr
  • Spatial Data Analysis and Modeling with R — rspatial.org
  • Geospatial Analysis 5th Edition, 2015 - spatialanalysisonline.com

Spatial Analysis in R blogs

  • CRAN Task View: Analysis of Spatial Data
  • R spatial projects
  • R sp graphics example figures
  • Maps and Data Visualisations with R – spatial.ly

Spatial Analysis in R courses

  • Spatial Analysis in R - datacamp.com
  • An Introduction to Spatial Data Analysis and Visualisation in R - CDRC Data
  • Introduction to Mapping and Spatial Analysis with R - cengel.github.io/rspatial
  • GEOG 4/595: Geographic Data Analysis - geog.uoregon.edu
  • Geospatial Data in R and Beyond - maths.lancs.ac.uk
    • R Spatial Cheatsheet

Tidy Spatial Analysis

  • Tidy spatial data in R: using dplyr, tidyr, and ggplot2 with sf
  • Cheatsheets – RStudio

Interactive Maps

  • Visualization in R - 2016-04-15-UCSB workshop
  • leaflet
  • mapedit
  • mapview