Learn R Programming

choroplethrMaps (version 1.0.1)

state.map: Map of the 50 US states plus the district of columbia.

Description

A data.frame which contains a map of all 50 US States plus the District of Columbia. The shapefile was modified using QGIS in order to 1) remove Puerto Rico and 2) remove islands off of Alaska that crossed the antimeridian 3) renamed column "STATE" to "region".

Usage

data(state.map)

Arguments

References

Taken from the US Census 2010 Cartographic Boundary shapefiles page (https://www.census.gov/geo/maps-data/data/tiger-cart-boundary.html) in May 2014. The resolutions is 20m (20m = 1:20,000,000).

Examples

Run this code
## Not run: 
# # render the map with ggplot2
# library(ggplot2)
# 
# data(state.map)
# ggplot(state.map, aes(long, lat, group=group)) + geom_polygon()
# ## End(Not run)

Run the code above in your browser using DataLab