Spatial R workshop focusing on reading and using shapefiles and polygon layers directly in R. Examples based on Ocean Health Index - British Columbia. Requires a range of spatial packages: sp
, rgdal
, rgeos
, maptools
, raster
, and the usual suspects: dplyr
, tidyr
, stringr
; optional packages: cleangeo
, gdalUtils
, ggplot2
, RColorBrewer
View the HTML (knitted from the .Rmd): https://rawgit.com/eco-data-science/spatial_analysis2_R/master/spatial_analysis2.html
Download the PDF (knitted from the .Rmd): https://github.com/eco-data-science/spatial_analysis2_R/blob/master/spatial_analysis2.pdf
View the R Markdown document: https://github.com/eco-data-science/spatial_analysis2_R/blob/master/spatial_notes.Rmd