Skip to contents

Extract one modality's samples from an Apple Health export

Usage

appleHealthSeries(x, type)

Arguments

x

An apple_health object from readAppleHealth().

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.