Skip to content

Instantly share code, notes, and snippets.

View dataewan's full-sized avatar

Ewan Nicolson dataewan

View GitHub Profile
@dataewan
dataewan / README.md
Created December 30, 2017 11:45
flatten tmdb data
@dataewan
dataewan / footer
Last active August 29, 2015 14:21
ipython report header and footer
@dataewan
dataewan / Growth reading list
Last active August 29, 2015 14:19
Growth reading list
Long form essays
andrewchen.co
Referrals at Airbnb
https://www.youtube.com/watch?v=SS9wGKuGVt4
GrowthHackers
https://growthhackers.com/
Hacker news – more general
@dataewan
dataewan / gist:9188690
Last active August 29, 2015 13:56
R Snippets - ggplot2
# Use these lines to call the script
# setInternet2(TRUE)
# source("https://gist.githubusercontent.com/dataewan/9188690/raw/")
# this function lets you rotate the x axis labels on a ggplot
rotate_x_axis <- function(angle = 90, hjust = 1){
return(theme(axis.text.x = element_text(angle = angle, hjust = hjust)))
}