wind_turbines: Locations of wind turbines in the U.S.

Description Usage Format Source Examples

Description

Data were obtained from the United States Wind Turbine Database.

Usage

1

Format

An object of class tbl_df (inherits from tbl, data.frame) with 58185 rows and 24 columns.

Source

United States Wind Turbine Database (USWTDB) https://eerscmap.usgs.gov/uswtdb/data/

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
library(sf)

m <- cbind(wind_turbines$xlong, wind_turbines$ylat)
mproj <- rgdal::project(m, proj = "+proj=aea +lat_1=29.5 +lat_2=45.5 +lat_0=37.5 +lon_0=-96 +x_0=0 +y_0=0 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs")
wind_turbines$x <- mproj[,1]
wind_turbines$y <- mproj[,2]

lower48 <- us_states_geoms$lower48
ggplot(lower48) + 
  geom_sf(fill = "#56B4E9", color = "grey30", size = 0.3, alpha = 0.5) +
  geom_point(
    data = filter(wind_turbines, xlong > -130, ylat > 20),
    aes(x = x, y = y),
    color = "black",
    size = 0.1
  )

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