No description, website, or topics provided.
R Makefile Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
analysis
data-processed
data-raw
docs
outputs
packrat
.Rbuildignore
.gitignore
.travis.yml
DESCRIPTION
LICENSE
Makefile
README.Rmd
README.md
build.R
deploy.sh
step01_data.Rproj

README.md

Build Status

This is a project configured to allow us to start building reproducible models and associated documentation. This stage in the project contains everything up to sampling.

Bits and pieces in use in this project:

  • Packrat
  • Git
  • Travis-CI
  • Makefile

Lets use Titanic data!

  • Install PASWR package from CRAN
  • Install RSQLite package from CRAN
  • Make a titanic db in data-raw
library(DBI)
library(RSQLite)
titanicdb<-dbConnect(SQLite(),dbname="data-raw/titanic.sqlite")
  • Add titanic data to the db
library(PASWR)
dbWriteTable(titanicdb, "titanic", titanic3, overwrite=TRUE)

Data steps

  • Get data
  • Clean it
  • Sample it