Parses the single-lead ECG CSV that the Apple Watch ECG app exports into a
PhysioExperiment (one ECG channel). The classification, recorded date and
sample rate from the file header are kept in metadata(). The result feeds
the PhysioECG beat-detection and heart-rate-variability functions.
Value
A PhysioExperiment with a raw assay of the ECG voltage
(microvolts) and samplingRate set from the header.
Examples
if (FALSE) { # \dontrun{
ecg <- readAppleECG("ecg_2023-05-01.csv")
samplingRate(ecg)
} # }