get_activity_calories | R Documentation |
Resource path /activities/activityCalories
get_activity_calories(start_date, end_date)
start_date |
The start date of records to be returned in "yyyy-mm-dd" or date(time) format |
end_date |
The end date of records to be returned in "yyyy-mm-dd" or date(time) format |
A tibble with two columns: date
and activity_calories
## Not run:
start_date <- lubridate::today() - lubridate::weeks(1)
end_date <- lubridate::today()
get_activity_calories(date)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.