Skip to contents

Usage

get_heart_rate_zones(start_date, end_date = start_date)

Arguments

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

Value

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)

Examples

if (FALSE) {
start_date <- lubridate::today() - lubridate::weeks(1)
end_date <- lubridate::today()

get_heart_rate_zones(start_date, end_date)
}