USboundary: A boundary file for conterminous United States

USboundaryR Documentation

A boundary file for conterminous United States

Description

A boundary file for conterminous United States, of object type SpatialPolygonsDataFrame from sp package.

Usage

data(USboundary)

Format

A sf object. The projection is in Conus (Continental US) Albers, EPSG:5070. There are 49 polygons with a single variable for the state name.

STATE_NAME

Names of the 48 contiguous states, plus District of Columbia.

Source

Shapefile downloaded from

link to: Shapefile of 50 US States hosted by ArcGIS).

Imported to R with the rgdal package as a SpatialPolygonsDataFrame object from package sp, and then the contiguous US states were subsetted from that object that included other US jurisdictions. The code that creates the data file from the raw data can be found at system.file("raw data/polyMaps/create_USboundary.R",package = "ZVHdata"). It was subsequently converted to sf using st_as_sf function.

Examples

library(ZVHdata)
library(sf)
data(USboundary)
summary(USboundary)
plot(USboundary)

jayverhoef/ZVHdata documentation built on Oct. 22, 2022, 8:35 p.m.