intelligent-environments-lab / utx000

Analysis related to the many studies under the UTx000 banner, a project under the Whole Communities, Whole Health initiative.
MIT License
0 stars 1 forks source link

Fitbit data availability #27

Closed HagenFritz closed 4 years ago

HagenFritz commented 4 years ago

With the heart rate values processed, we need to remove data from sleep and any other relevant data sources that correspond to poor heart rate readings. This will ensure that we are only getting meaningful values.

HagenFritz commented 4 years ago

The issue was that extra days were added to each individual based on the data request from the API. These days were auto-populated with seemingly useless data so I edited the make_dataset.py script to remove days from the Fitbit daily records when the activities_steps are greater than 0. Even if the participant only wore their fitbit to sleep, their motion should count at least a few steps...

HagenFritz commented 4 years ago

Fixed the issues. Data availability now makes more sense. See the figure here