Extract one modality's samples from an Apple Health export
Source:R/io-applehealth.R
appleHealthSeries.RdExtract one modality's samples from an Apple Health export
Arguments
- x
An
apple_healthobject fromreadAppleHealth().- type
A (prefix-stripped) record type, e.g.
"HeartRate","HeartRateVariabilitySDNN","OxygenSaturation","SleepAnalysis".
Value
A data frame of that type's records (start, end, value,
value_num, unit, source), time-ordered.