Slides and code for the 2018 useR! tutorial "Recipes for Data Processing"
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
slides typo fix Jul 13, 2018
talk talk materials Jul 13, 2018
.gitignore Initial commit Jun 25, 2018
LICENSE Initial commit Jun 25, 2018 added RSP information Jul 10, 2018


If you need to use a remote version of R to run the code, go to:

If you require a server instance, please let us know before going here. We will have to assign you an ID.

Slides and code for the 2018 useR! tutorial "Recipes for Data Processing" on Tuesday July 10th at 1:30:

R has an excellent framework for specifying models using formulas. While elegant and useful, it was designed in a time when models had small numbers of terms and complex preprocessing of data was not commonplace. As such, it has some limitations. In this tutorial, a new package called recipes is shown where the specification of model terms and preprocessing steps can be enumerated sequentially. The recipe can be estimated and applied to any dataset. Current options include simple transformations (log, Box-Cox, interactions, dummy variables, ...), signal extraction (PCA, PLS, ICA, MDS, ...), basis functions (splines, polynomials, ...), imputation methods, and others. An example is used to demonstrate the functionality.

The audience should include people who do feature engineering or need to include preprocessing with their models. From a technical standpoint, some experience in modeling and R is a good idea. Basic tidyverse syntax will be reviewed.

The materials will be added a few days before the tutorial. To install the required packages:

  c('AmesHousing', 'broom', 'kknn', 'recipes', 'rsample', 'tidyverse', 'yardstick'), 
  repos = ""

# and optionally

install.packages('caret', repos = "")

If you have trouble with any of these, email me at