Skip to content

Instantly share code, notes, and snippets.

Avatar

John Ensley ensley

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

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

@ensley
ensley / README.md
Last active Mar 8, 2017
Interactive correlation matrix
@ensley
ensley / mlb_payroll_wins.r
Last active Nov 18, 2015
MLB payroll and wins
View mlb_payroll_wins.r
library(ggplot2)
library(ggthemes)
library(dplyr)
# 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
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