Description Usage Arguments Value
View source: R/collect_activity.R
Collects all of the "activity" data from the FitBit API.
1 | collect_activity(token, start_date = NULL, days_prior_to_start = 30)
|
token |
The token you received from 'fitbitr' function |
start_date |
The date that you want to start collecting the data in "YYYY-MM-DD" format. If 'NULL' (default) then it chooses yesterday. |
days_prior_to_start |
Days before 'start_date' that you want to collect data from. Default is 30 days. |
Returns a list of lists for each type of activity.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.