Convert shapefile object to dataframe
Spatial object to convert. See details.
Takes a SpatialLinesDataFrame object or SpatialPolygonsDataFrame object and converts into a dataframe that can be plotted in ggplot2.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.