nest_ace_raw: Re-nest unnested loaded ACE data

View source: R/utils-nest.R

nest_ace_rawR Documentation

Re-nest unnested loaded ACE data

Description

Function to re-nest data loaded with load_ace_bulk() and unnested with link{unnest_ace_raw}() into a form suitable for processing in other package functions.

Usage

nest_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 in the nested format output by load_ace_bulk() with the argumentapp_type set to "email" or "pulvinar" for ACE Classroom data. Suitable for further processing with, for example, link{proc_by_module}().


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