Learn R Programming

SDraw (version 2.1.3)

WY: SpatialPolygonsDataFrame of counties in the state of Wyoming, USA

Description

A SpatialPolygonsDataFrame containing polygons for the 23 counties in the state of Wyoming.

Usage

data("WY")

Arguments

Format

A SpatialPolygonsDataFrame containing 23 polygons whose union outline boundaries of the state of Wyoming. Source of the Shapefile containing all US counties in 2015 was https://www.census.gov/geo/maps-data/data/cbf/cbf_counties.html.

Attributes of the polygons are:

  1. STATEFP = State identifier (56 = Wyoming)

  2. COUNTYFP = Unique identifier for county

  3. NAME = Name of the county

The proj4string is "+init=epsg:26912 +proj=utm +zone=12 +datum=NAD83 +units=m +no_defs +ellps=GRS80 +towgs84=0,0,0", meaning among other things that the coordinates are projected zone 12 UTM's in meters. The rectangular bounding box of all polygons is

min max
x 495506 1084419
y 4538294 5006162

Examples

Run this code
# NOT RUN {
plot(WY, col=rainbow(length(WY)))
# }

Run the code above in your browser using DataLab