sp
- defines the set of base classes for spatial data in R. Most useful for creating, converting, merging, transforming (e.g. projection), and plotting (seespplot
)Spatial*
objects.rgdal
- wrapper for GDAL. Most useful for reading in vector data (e.g. ESRI Shapefiles, GeoJSON, KML) with the functionreadOGR
and reading raster data (e.g. NetCDF, GeoTiff) with the functionreadGDAL
.rgeos
- wrapper for the GEOS library. Most useful for common spatial operations such as calculating distances between objects, areas, intersections, buffers, centroids, etc. Seehelp(package = "rgeos")
for a complete list of functions.raster
- provides a set of object classes and functions specific to working with raster data. Most useful for loading, transforming, and analyzing raster data. A particularly useful functiongetData
retrieves commonly used spatial data such as administrative boundaries or world climate data.
- "Applied Spatial Data Analysis with
R
" [Book Website][Springer Link] by Roger S. Bivand, Edzer Pebesma, and Virgilio Gómez-Rubio. Perhaps the best and most comprehensive introduction toSpatial*
objects inR
by the authors of thesp
package. - CRAN Task View: Analysis of Spatial Data - lists available
R
packages by spatial application. - Stack Overflow Geographic Information Systems - Invaluable Q&A community and knowledge base. This is often the best place to look for solutions to a specific but common task.
- Visual Raster Cheatsheet by Etienne B. Racine
- Applied Spatial Data Science with
R
by Daniel Emaasit - Introduction to visualising spatial data in
R
by Robin Lovelace and James Chesire. - GIS in
R
by Nick Eubank - Spatial data in
R
: UsingR
as a GIS by Francisco Rodriguez-Sanchez R
Spatial Tips - spatial.ly by James Cheshire.R
Spatial Cheatsheet by Barry Rowlingson- Geocoding with
R
'sggmap
Package by Zev Ross - plotting polygon shapefiles with
ggplot2
- Making Maps in
R
by Kevin Johnson - Mapping in
R
using theggplot2
package by Zev Ross - Introduction to Spatial Data and
ggplot2
by James Chesire - Using
R
— Working with Geospatial Data (andggplot2
) by Bethany Yollin - Making Maps with
R
by Kim Gilbert - Create Maps With
R
Geospatial Classes and Graphics Tools - UCSB National Center for Ecological Analysis and Synthesis - Spatial maps and geocoding in
R
by Aedin Culhane choroplethr
by Ari Lamstein (choropleth mapping)- In addition to the GitHub documentation, Lamstein has many tutorial and examples in his blog
- The very basics of
R
- UCLA Statistics R
Tutorial by Kelly Black- CRAN
R
Reference Card (excellent coverage of commonly used baseR
functions) - RStudio Cheatsheets (RStudio IDE, visualization, data cleaning, etc.) by RStudio
- A section on
R
Basics from "R
Graphics Cookbok" by Winston Chang
R
Graphics Cookbook by Winston Changggplot2
- package documentation
- GitHub wiki
- ggplot2 cheatsheet
ggplot2 tagged questions
on StackOverflow
- dplyr introduction (powerful tools for processing, cleaning, and analyzing tabular data) by Hadley Wickham
- stargazer cheatsheet (publication quality formatting for regression results) by Jake Russ
- knitr resources (dynamic document compilation / reproducible research) by Yihui Xie.
- packrat (dependency management / reproducibility tool) by RStudio.
- Advanced R by Hadley Wickham
- R Packages (package development) by Hadley Wickham
- GIS Analysis for Applied Economists by Melissa Dell.
- Tidy Data Wickham (2014). Journal of Statistical Software.