Skip to content

Instantly share code, notes, and snippets.

library(tidyverse) # For ggplot, dplyr, and friends
library(historydata) # Historical population data
library(USAboundaries) # Historical geographic data
# remotes::install_github("ropensci/USAboundariesData") # Actual data
library(rvest) # Scrape websites
library(sf) # Plot geographic data
library(tigris) # Shift AK, HI, and PR around with shift_geometry()
library(patchwork) # For combining plots
@wjakethompson
wjakethompson / hourly-weather.R
Created October 23, 2017 13:03 — forked from yeedle/hourly-weather.R
Temperature of every hour in NY since 1973
library(tidyverse)
library(R.utils)
library(glue)
library(magrittr)
library(weathermetrics)
library(padr)
library(ggExtra)
library(lubridate)
library(scales)
library(hrbrthemes)