Pulls data from the fitbit website for analysis. Currently able to pull: * steps * distance * floors * active minutes (sedentary/light/fair/very) * calories burned * calories consumed * resting heartrate * weight * daily nutrition summary
The file read.R is used for reading fitbit data from the web. Data is read using the Fitbit API and OAuth 2.0.
Authentication is performed using method found here: http://blog.numbersinlife.com/2015/09/silly-oauth2-connect-to-fitbit-api-from.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.