get_heart_rate_zones | R Documentation |
See https://dev.fitbit.com/build/reference/web-api/activity/ for more details.
get_heart_rate_zones(start_date, end_date = start_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 of the date, the heart rate zone (zone
), the minimum heart rate in that zone (min_hr
), the maximum heart rate in that zone (max_hr
), the minutes in that zone (minutes_in_zone
), and the calories burned in that zone (calories_out
)
## Not run:
start_date <- lubridate::today() - lubridate::weeks(1)
end_date <- lubridate::today()
get_heart_rate_zones(start_date, end_date)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.