Our templates are being migrated to a contemporary R and Python style as presented in the Essentials book. The suite of templates is also available from OnePageR on Togaware.

The Data Preparation template data.Rnw (and its corresponding R script data.R) together with the Modelling template model.Rnw (and its corresponding R script model.R) serve as a starting point for any data science task focused on ingesting, wrangling, cleaning, and transforming data, and building predictive machine learning models. They are provided as LaTeX KnitR documents and R scripts automatically generated from the KnitR documents, ready to be loaded into RStudio.

For Data Preparation the task can be separated into:
Setup, Ingest, Observe, Prepare, Meta Data, and Save.