Skip to content

Instantly share code, notes, and snippets.


John Ensley ensley

View GitHub Profile
ensley / .block
Last active Jun 23, 2017
Interactive NHL Assist Visualization
View .block
license: gpl-3.0
height: 800
scrolling: yes
ensley /
Last active Mar 8, 2017
QuickPredict Comparison Charts

A tool for visualizing results of many prediction tests simultaneously. Made during an internship at Lubrizol using Highcharts.js.

ensley /
Last active Mar 8, 2017
Interactive correlation matrix
ensley / mlb_payroll_wins.r
Last active Nov 18, 2015
MLB payroll and wins
View mlb_payroll_wins.r
# load payroll and win/loss data
df <- read.csv('mlb-standings-and-payroll.csv')
# pick out seasons from 1985 on
df <- df %>%
filter(year >= 1985) %>%
select(tm, year, w, g, wins_losses, est_payroll) %>%
ensley / 0_reuse_code.js
Created Nov 11, 2015
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console