This is an interactive course on spatial data in R 🌐. It can be run inside e.g. RStudio with the swirl
-package 🌌. The project is in its development stage. Lessons listed below are already open for learning and testing. Suggestions and contributions are very welcome.
Install swirl
and the current version of this course by running the following lines:
install.packages("swirl")
library(swirl)
install_course_github("joheisig", "Spatial_Data_in_R")
When the swirl
-package is loaded, activate the course environment:
swirl()
swirl
will ask for your name and present you with the course menu. After you selected 'Spatial Data in R' you can choose from all lessons availible.
- Raster Basics: plot, crop and subset rasters, get basic meta data and stats
- Vector Basics: explore point, line and polygon features, subset by attribute, create an overview map, calculate intersections
- Import & Export: read and write raster files, load shapefiles, import point features from csv, write shapefiles
- Coordinate Reference Systems: awareness for spatial reference, query CRS, reproject/transform data
- Advanced Plotting
- Working With Multiple Layers
- Access Spatial Data
- Timeseries Basics
- Land Cover Classifications
If you find this course a useful resource for learning to use spatial data in R, then that's great. If you like it so much you want to help building the course and contribute your R skills, knowledge and ideas to the community, that's even better! Just send me a pull request and/or a message.