inst/data-raw/gendermodel.R

library(dplyr)

src <- "https://www.kaggle.com/c/titanic/data/download/gendermodel.csv"
lcl <- "data-raw/gendermodel.csv"

# if (!file.exists(lcl)) {
#   download.file(src, lcl)
# }

raw <- read.csv(lcl, stringsAsFactors = FALSE)
titanic_gender_model <- raw

save(airlines, file = "data/titanic_gender_model.rda")

Try the titanic package in your browser

Any scripts or data that you put into this service are public.

titanic documentation built on May 30, 2017, 5:09 a.m.