Skip to content

Instantly share code, notes, and snippets.

@jsta
Created May 20, 2020 17:54
Show Gist options
  • Save jsta/359d94e302a93a42d902323ae18aa3fe to your computer and use it in GitHub Desktop.
Save jsta/359d94e302a93a42d902323ae18aa3fe to your computer and use it in GitHub Desktop.
Explore the two dams associated with the 2020 Midland, MI flooding
library(dams)
library(dplyr)
library(sf)
library(mapview)
dt <- nid_subset
dt <- dt[c(
grep("edenville", tolower(dt$dam_name)),
grep("sanford", tolower(dt$dam_name))),] %>%
dplyr::filter(state == "MI") %>%
sf::st_as_sf(coords = c("longitude", "latitude"), crs = 4326)
mapview(dt)
@jsta
Copy link
Author

jsta commented May 20, 2020

recordid dam_name nidid county owner_type dam_type purposes year_completed nid_height max_storage normal_storage nid_storage hazard eap inspection_frequency state_reg_dam spillway_width volume number_of_locks length_of_locks width_of_locks source_agency state submit_date party numseparatestructures permittingauthority inspectionauthority enforcementauthority jurisdictionaldam geometry
32879 EDENVILLE MI00549 GLADWIN P PGRE CH 1925 54 66200 36000 66200 H Y 1 N 135 0 0 0 0 FERC MI 05-AUG-18 R 2 N N N N c(-84.3769, 43.8142)
32881 SANFORD MI00550 MIDLAND P CNMV H 1925 36 15000 15000 15000 H Y 1 N 139 0 0 0 0 FERC MI 05-AUG-18 R 1 N N N N c(-84.3803, 43.6769)

@jsta
Copy link
Author

jsta commented May 20, 2020

midland

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment