nc.shp {sp} | R Documentation |
North Carolina county boundaries in shapefile (ArcView and ArcGIS) format for counties from the 1990 census.
data(ncshp)
The format is as read by read.shape
in the maptools package
http://sal.agecon.uiuc.edu/stuff/data.html
## Not run: library(maptools) nc.shp <- read.shape(system.file("shapes/sids.shp", package="maptools")[1]) ## End(Not run) data(ncshp) nc1 <- as.SpatialPolygons.Shapes(nc.shp$Shapes, as.character(nc.shp$att.data$FIPS)) plotSpatialPolygons(nc1) invisible(text(getSpPPolygonsLabptSlots(nc1), labels=getSpPPolygonsIDSlots(nc1), cex=0.6))