Skip to content

Instantly share code, notes, and snippets.

View ensley's full-sized avatar

John Ensley ensley

  • Resource Innovations, Inc
  • Colorado, USA
  • 00:25 (UTC -07:00)
View GitHub Profile
@ensley
ensley / .block
Last active June 23, 2017 23:07
Interactive NHL Assist Visualization
license: gpl-3.0
height: 800
scrolling: yes
@ensley
ensley / README.md
Last active March 8, 2017 20:52
QuickPredict Comparison Charts

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 March 8, 2017 03:23
Interactive correlation matrix
@ensley
ensley / mlb_payroll_wins.r
Last active November 18, 2015 02:33
MLB payroll and wins
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 November 11, 2015 02:52
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console