Hadley Wickham's

ggmap: Spatial Visualization with ggplot2

  • David Kahle, Hadley Wickham.
  • ggmap: Spatial Visualization with ggplot2.
  • The R Journal, vol. 5, pp. 144–162, 2013.

Download: pre-print | from publisher


In spatial statistics the ability to visualize data and models superimposed with their basic social landmarks and geographic context is invaluable. ggmap is a new tool which enables such visualization by combining the spatial information of static maps from Google Maps, OpenStreetMap, Stamen Maps or CloudMade Maps with the layered grammar of graphics implementation of ggplot2. In addition, several new utility functions are introduced which allow the user to access the Google Geocoding, Distance Matrix, and Directions APIs. The result is an easy, consistent and modular framework for spatial graphics with several convenient tools for spatial data analysis.

@Article{ggmap,
  author = {David Kahle and Hadley Wickham},
  issue = {1},
  journal = {The R Journal},
  pages = {144–162},
  title = {ggmap: Spatial Visualization with ggplot2},
  url = {http://journal.r-project.org/archive/2013-1/kahle-wickham.pdf},
  volume = {5},
  year = {2013},
  bdsk-url-1 = {http://journal.r-project.org/archive/2013-1/kahle-wickham.pdf},
}