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