Skip to content

Instantly share code, notes, and snippets.

View awcull's full-sized avatar

Andrew Cull awcull

View GitHub Profile
@awcull
awcull / titanic-main.R
Created April 4, 2014 17:14
Kaggle - Titanic Attempt
library(Hmisc)
setwd("C:/code/titanic")
## read.data
# Because we know what the classes the columns should be lets deal with that now
read.data <- function(fp, col.classes) {
return(read.csv(file=fp, colClasses=col.classes))
}
@awcull
awcull / analysis
Created February 22, 2014 19:09
Divvy Data
library(ggplot2)
library(scales)
library(reshape)
library(ggmap)
setwd("C:\\code\\Divvy_Stations_Trips_2013")
## Read data
data <- read.csv("Divvy_Trips_Clean_2013.csv", stringsAsFactors=F)
data.stations <- read.csv("Divvy_Stations_2013.csv")