Description Usage Arguments Details
get_heart_rate_time_series()
returns time series data in the specified range
If you specify earlier dates in the request, the response will retrieve only data since the user's join date or the first log entry date for the requested collection.
1 2 | get_heart_rate_time_series(token, date = "", period = "",
base_date = "", end_date = "", simplify = TRUE)
|
token |
An OAuth 2.0 token generated by oauth_token() |
date |
The end date of the period specified in the format "yyyy-MM-dd" or "today" as a string or Date object. |
period |
The range for which data will be returned. Options are "1d", "7d", "30d", "1w", "1m". |
base_date |
The range start date in the format "yyyy-MM-dd" or "today" as a string or Date object. |
end_date |
The end date of the range in the format "yyyy-MM-dd" or "today" as a string or Date object. |
simplify |
logical; should the result be simplified from a list to a data.frame if possible |
See https://dev.fitbit.com/reference/web-api/heart-rate/#get-heart-rate-time-series for more details.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.