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