unnest_ace_raw: Unnest loaded ACE data into long form

View source: R/utils-nest.R

unnest_ace_rawR Documentation

Unnest loaded ACE data into long form

Description

Function to unnest data loaded with load_ace_bulk() into long form.

Usage

unnest_ace_raw(df, app_type = c("classroom", "explorer"))

Arguments

df

a nested data.frame containing formatted trialwise ACE data.

This includes data loaded with the following methods:

  1. load_ace_file

  2. load_ace_bulk

app_type

character. What app type produced this data? One of c("classroom", "explorer"). Must be specified.

Value

Returns a data.frame with no list-columns, with one row per trial, and one section of rows per module. Columns only containing valid data for one or a subset of modules are all set to NA for modules to which those columns do not apply.


josegallegos07/aceR documentation built on June 27, 2022, 10:25 a.m.