nc.shp {sp} | R Documentation

## North Carolina county boundaries (shapefile)

### Description

North Carolina county boundaries in shapefile (ArcView and ArcGIS) format for counties from the 1990 census.

### Usage

    data(ncshp)

### Format

The format is as read by `read.shape` in the maptools package

### Source

http://sal.agecon.uiuc.edu/stuff/data.html

### Examples

    ## 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))

[Package sp version 0.7-12 Index]