Last active
October 31, 2019 23:57
-
-
Save ianmcook/3c84c0835897658cb6485835d7140626 to your computer and use it in GitHub Desktop.
Map of active tornado warnings for North Carolina
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(weatherAlerts) | |
library(leaflet) | |
alerts <- getAlerts("NC") # takes a few seconds | |
alerts <- alerts[alerts$event == "Tornado Warning",] | |
leaflet() %>% | |
addTiles() %>% | |
addPolygons(data = alerts, color = "black", fillColor = "magenta", weight = 1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment