This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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") |