Advanced Data Wrangling

Kevin Donovan

December 15, 2020

Introduction

Recall: data wrangling covered using tidyverse

Functions:

missing
Tidyverse

Combinating Functions

Often need to combine with helper functions to create variables for analysis

Helpers:

Examples in IBIS Data

  1. Create ASD by familial risk grouping variable
  2. Change reference level of category for regression analysis
  3. Create normalized scores of variable
  4. Re-group demographics variables (race, sex, gender, etc.)
  5. Convert from wide to long (vice-versa)
  6. Compute means and SDs for variables by groups

Song of the Session

Lovers Rock directed by Steve McQueen

Silly Games by Janet Key

Hello Stranger by Brown Sugar

I’m in Love With a Dreadlocks by Brown Sugar

Lovers Rock by The Clash

missing
Tidyverse