nc.shp                  package:sp                  R Documentation

_N_o_r_t_h _C_a_r_o_l_i_n_a _c_o_u_n_t_y _b_o_u_n_d_a_r_i_e_s (_s_h_a_p_e_f_i_l_e)

_D_e_s_c_r_i_p_t_i_o_n:

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

_U_s_a_g_e:

     data(ncshp)

_F_o_r_m_a_t:

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

_S_o_u_r_c_e:

     <URL: http://sal.agecon.uiuc.edu/stuff/data.html>

_E_x_a_m_p_l_e_s:

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

