Pivot diary entries to wide format — one row per participant per night
Source:R/tidy.R
diary_wide.RdMerges matching morning and evening entries for the same participant and
date into a single row, prefixing morning columns with m_ and evening
columns with e_.
Examples
if (FALSE) { # \dontrun{
study <- read_study("exports/")
wide <- diary_wide(study)
head(wide)
} # }