View source: R/collect_heartrate.R
Collect fitbit heartrate data
1 2 | collect_heartrate(token, start_date = NULL, period_to_collect = "1m",
intraday = T)
|
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. |
period_to_collect |
Resolution of the data to collect. Default is '1m' (one month). Options are "1d", "7d", "30d", "1w", "1m". |
intraday |
T/F for whether to collect intraday data |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.