fix_inconsistencies: Fixes inconsistencies between states.

Description Usage Arguments Value

Description

Goes through the 7 states: hasExercise, connected, visible, focus, idle, input and submitted and repairs any inconsistencies. For example, if the user is not connected the rest of the states should be NA.

Usage

1
fix_inconsistencies(state_timeline_dt)

Arguments

state_timeline_dt

data.table the state timeline data.table.

Value

An updated timeline table with the consistent states.


triglian/asqr documentation built on May 31, 2019, 7:53 p.m.