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 device info CSV import #32

Closed HagenFritz closed 3 years ago

HagenFritz commented 4 years ago

One of the datafiles from Fitabase includes a fitbit_info file that contains some basic information about that particular Fitbit. The most interesting entry is the battery level of the device. For whatever reason, the Fitbit files tend to have an odd JSON/CSV hybrid format that is tricky to work with. I managed to get the other, more import daily and intraday Fitbit files to read in properly, but for whatever reason could not get this datafile to work.

That being said, I don't believe I will work on this issue as it is not relevant to my work. I am simply putting it here as a note.

Code exists in make_dataset.py to read in the device info, but has been commented out because it does not work properly.