Skip to content

Instantly share code, notes, and snippets.

View FlicAnderson's full-sized avatar
💭
PhD student interested in Research Software @ EPCC, University of Edinburgh!

Flic Anderson FlicAnderson

💭
PhD student interested in Research Software @ EPCC, University of Edinburgh!
View GitHub Profile
@FlicAnderson
FlicAnderson / track_danny.R
Last active August 29, 2015 14:27 — forked from hrbrmstr/track_danny.R
Track Hurricane Danny (or any other Unisys-data-available-tropical storm)
library(leaflet)
library(stringi)
library(htmltools)
library(RColorBrewer)
# get tracks
danny <- readLines("http://weather.unisys.com/hurricane/atlantic/2015/DANNY/track.dat")
# extract data
danny_dat <- read.table(textConnection(gsub("TROPICAL ", "TROPICAL_", danny[3:length(danny)])),