sanity_checks: Sanity checks for tracking data
Description
Heart rate measurements of 0 are set to NA, assuming the athlete is alive.
Observations with missing or duplicated time stamps are removed.
Usage
sanity_checks(dat, silent)
Arguments
- dat
Data set to be cleaned up.
- silent
Logical. Should warnings be generated if any of the
sanity checks on the data are triggered?