Using R's ggplot2 and rgdal to examine earthquake activity in Oklahoma
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data
docs
images
scripts
.gitignore
README.md
chapter-0.md
chapter-1-intro.Rmd
chapter-2-basic-r-concepts.Rmd
chapter-3-exploring-historical-data.Rmd
chapter-4-geocorrelation.Rmd
intro.md
make-animated-gif.R
make-multi-google-dot-map.R
myslimthemes.R
theme-practice.Rmd

README.md

Investigating Oklahoma Earthquakes with R and ggplot2

An R Notebook using ggplot2 and rgdal, among other libraries to examine the surge in Oklahoma earthquakes.

By Dan Nguyen for Stanford Computational Journalism.

Write up is in progress. But here's an animated GIF I made, painstakingly created via R and ImageMagick and shell-fu:

Animated GIF of U.S. earthquakes above 3.0 magnitude

Development notes

Running the R notebooks

The R notebooks use absolute paths for their cache directories, e.g. /tmp/rstudio-cache/ok-earthquakes. If you're on a Windows system, you'll likely have to change all of these to whatever Windows' equivalent to /tmp is.