Where in the World? Geospatial Analysis

In this chapter, we will cover the following recipes:

  • Downloading and plotting a Google map of an area
  • Overlaying data on the downloaded Google map
  • Importing ESRI shape files to R
  • Using the sp package to plot geographic data
  • Getting maps from the maps package
  • Creating spatial data frames from regular data frames containing spatial and other data
  • Creating spatial data frames by combining regular data frames with spatial objects
  • Adding variables to an existing spatial data frame
  • Spatial data analysis with R and QGIS

Get R Data Analysis Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.