US_states_geoms: Various projections of the states of the USA

Description Usage Format Source Examples

Description

State boundaries are provided in US_states_geoms, and county boundaries are provided in US_counties_geoms. All geometries were obtained from the US Census website (low resolution, 20m = 1:20,000,000) and subsequently processed as needed.

Usage

1
2
3

Format

An object of class list of length 4.

Source

Shapefiles from: https://www.census.gov/geo/maps-data/data/cbf/cbf_counties.html

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
# lower 48 states only
ggplot(US_states_geoms$lower48) + geom_sf(fill = "#56B4E9", color = "grey30", size = 0.3, alpha = 0.5)

# true Albers projection, with AK and HI in their correct locations
ggplot(US_states_geoms$true_albers) + geom_sf(fill = "#56B4E9", color = "grey30", size = 0.3, alpha = 0.5)

# standard US Albers map, with AK artificially small
ggplot(US_states_geoms$us_albers) + geom_sf(fill = "#56B4E9", color = "grey30", size = 0.3, alpha = 0.5)

# revised US Albers map, with AK at its original size
ggplot(US_states_geoms$albers_revised) + geom_sf(fill = "#56B4E9", color = "grey30", size = 0.3, alpha = 0.5)

# County and state boundaries overlaid
ggplot(US_counties_geoms$albers_revised) + 
  geom_sf(size = 0.3) +
  geom_sf(data = US_states_geoms$albers_revised, fill = NA, color = "red")

clauswilke/dviz.supp documentation built on Aug. 25, 2020, 2:12 a.m.