Created
September 8, 2017 13:05
-
-
Save joebrew/dc44ef4663e843356a57582da9d118bd to your computer and use it in GitHub Desktop.
Getting hurricane data
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
# Libraries | |
library(tidyverse) | |
library(rworldmap) | |
library(gganimate) | |
library(rgdal) | |
# Read data | |
world <- map_data(map="world") | |
hurricanes <- read_csv('data/Allstorms.ibtracs_wmo.v03r09.csv', skip = 1) # https://www.ncdc.noaa.gov/ibtracs/index.php?name=wmo-data | |
cnames <- names(hurricanes) | |
hurricanes <- read_csv('data/Allstorms.ibtracs_wmo.v03r09.csv', skip = 2) | |
names(hurricanes) <- cnames | |
irma <- readOGR('data/irma/', 'AL112017_lin') # http://www.nhc.noaa.gov/gis/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment