Skip to content

Instantly share code, notes, and snippets.

View jonathan-g's full-sized avatar

Jonathan Gilligan jonathan-g

View GitHub Profile

Keybase proof

I hereby claim:

  • I am jonathan-g on github.
  • I am jmgilligan (https://keybase.io/jmgilligan) on keybase.
  • I have a public key ASBluteinsPuIsNDERks5RHGk9EJ-yCxiREHiNePt8nCowo

To claim this, I am signing this object:

@jonathan-g
jonathan-g / winter_weather.R
Created October 25, 2018 16:56
Retrieve winter weather data from NOAA's global historical climate network database and plot changes in winter snowfall and number of cold days.
library(pacman)
p_load(magrittr, tidyverse, lubridate, rnoaa)
#
# Get an web services token from NOAA at https://www.ncdc.noaa.gov/cdo-web/token
# and paste it into the code below
#
if (is.null(getOption("noaakey")))
options(noaakey="<your token goes here>")