Vignette – Extracting personal activity data using the Fitbit API – a uni statistical thinking assignment
Linked below is the vignette I’ve created for Stats assignment 1… how to use the Fitbit API to get your data into R.
Extracting personal activity data using the Fitbit API – Ferguson
Parts of the process are code-heavy as JSON responses with minute-by-minute data are manipulated and a a couple of sample plots are also included.
I have flagged a couple of improvements which might be included in a second edition, and would welcome any feedback and comments you might have.
Finally, there are a couple of additional bits of information I used in setting up my fitbit app:
- Application website: (http://www.thephototrain.net/)
- Organisation website (http://www.thephototrain.net)
- Callback URL http://localhost:1410/ this was the mos fiddly bit
- Application type: Personal OAuth 2.0
Leave A Comment