dplyr

Using a Data Dictionary to Recode Columns with dplyr

This blog post provides an in-depth tutorial on using dplyr to recode and rename multiple columns across several datasets according to a data dictionary.

Mastering the Many Models Approach

This blog post reviews the original Many Models Approach, updates it using the current tidyverse syntax, and expands upon the original approach by introducing new building blocks and helper functions.

The ultimate guide to ordering rows in R

This blog post shows how to order rows in a dataframe using four different approaches: base R, data.table, dplyr, and python's pandas.

Partially renaming columns using a lookup table

This blog post shows how to partially rename columns with a lookup table using four different approaches: base R, data.table, dplyr, and pandas.