Skip to content

Instantly share code, notes, and snippets.

@stedy
Last active November 8, 2019 21:35
Show Gist options
  • Save stedy/b05e2e11e309b66eb28e to your computer and use it in GitHub Desktop.
Save stedy/b05e2e11e309b66eb28e to your computer and use it in GitHub Desktop.
R> wa.cd <- readOGR("cd2012.shp", layer="cd2012")
OGR data source with driver: ESRI Shapefile
Source: "cd2012.shp", layer: "cd2012"
with 10 features
It has 34 fields
R> class(wa.cd)
[1] "SpatialPolygonsDataFrame"
attr(,"package")
[1] "sp"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment