boundaries: Boundaries for U.S. states, counties, or commuting zones

Description Usage Arguments Details Value Source Examples

View source: R/boundaries.R

Description

Boundaries for U.S. states, counties, or commuting zones as sf object.

Usage

1
2
3
4
5
boundaries(
  geography = c("state", "county", "cz"),
  resolution = c("20m", "5m", "500k"),
  projection = c("albers", "longlat")
)

Arguments

geography

One of:

  • "state" (Default)

  • "county"

  • "cz" Commuting zone.

resolution

One of:

  • "20m" 1:20,000,000 (Default)

  • "5m" 1:5,000,000

  • "500k" 1:500,000

projection

One of:

  • "albers" Albers equal area with Alaska and Hawaii scaled and below contiguous states. (Default)

  • "longlat" Longitude and latitude.

Details

The default 1:20,000,000 resolution is suitable for maps of the entire U.S. The other two higher resolutions are suitable for maps of smaller areas. The default Albers equal area projection is suitable for maps of the entire U.S. The longitude and latitude projection is suitable for maps of smaller areas.

Value

An sf object.

Source

U.S. Census Bureau. 2018 Cartographic Boundary Shapefiles.

USDA Economic Research Service. 1990 Commuting Zones.

Examples

1
counties <- boundaries(geography = "county")

dcl-docs/ussf documentation built on Jan. 2, 2020, 7:46 a.m.