Description Usage Arguments Details
get_activity_intraday_time_series()
returns intraday time series data in the specified range for a given resource.
Access to the Intraday Time Series for personal use (accessing your own data) is available through the "Personal" App Type.
1 2 3 | get_activity_intraday_time_series(token, resource_path, date,
detail_level = "15min", start_time = NULL, end_time = NULL,
simplify = TRUE)
|
token |
An OAuth 2.0 token generated by oauth_token() |
resource_path |
The resource path of the desired data |
date |
A Date class object or a string in the format "yyyy-MM-dd" or "today". |
detail_level |
Number of data points to include. Either 1min or 15min. Optional. |
start_time |
The start of the period, in the format HH:mm. Optional. |
end_time |
The end of the period, in the format HH:mm. Optional. |
simplify |
logical; should the result be simplified from a list to a data.frame if possible |
Available resource_path are
calories
steps
distance
floors
elevation
See https://dev.fitbit.com/reference/web-api/activity/#get-activity-intraday-time-series for more details.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.