Apple HealthKit Samples Export / Time Interval Gaps Answered
I've set up a project and can see some sample data from a pilot participant about their active energy burned. In the Apple HealthKit Samples export and on the summary data available for the participant, the active energy burned data is given in somewhat arbitrary looking intervals. Importantly, these intervals are not always contiguous. I'm trying to understand 1) why does this occur--how are these intervals determined? and 2) how do I interpret this data? Is there any kind of interpolation for the missing time chunks happening? My ultimate goal here is to get active energy burned estimates for particular four hour periods, but I'm not sure how to interpret the missing chunks of time. Do you have any guidance on interpreting this?
Comments
1 comment
Apple HealthKit calculates both Resting Energy and Active Energy using weight, height, sex, and age of users. Resting Energy is essentially how much someone burns while sleeping or being sedentary, whereas Active Energy is the amount burned with any additional activity. Sample intervals are determined by start and end times of Active Energy on the device. Noncontiguous samples are common in Apple HealthKit data. Gaps indicate Resting Energy, meaning the user was not active during this time or was not wearing their device. To calculate energy burn over a four-hour period, sum the Active Energy listed over that timeframe.
Please sign in to leave a comment.