get_heart_rate_intraday: Get intraday heart time series

View source: R/intraday.R

get_heart_rate_intradayR Documentation

Get intraday heart time series

Description

See the API documentation for more detailed explanations of parameters and more usage information and examples.

Usage

get_heart_rate_intraday(
  date = lubridate::today(),
  detail_level = c("1sec", "1min", "5min", "15min"),
  start_time = NULL,
  end_time = NULL
)

Arguments

date

A date to get data for

detail_level

The detail level. One of "1sec", "1min", "5min", or "15min"

start_time

The start time of the time window. Default: NULL gets the whole day

end_time

The end time of the time window. Default: NULL gets the whole day

See Also

Other intraday: get_active_zone_minutes_intraday(), get_calories_intraday(), get_distance_intraday(), get_elevation_intraday(), get_floors_intraday(), get_steps_intraday()

Examples

## Not run: 
date <- lubridate::today()

## get minute by minute data
get_heart_rate_intraday(detail_level = "15min")

## get more granular data
get_heart_rate_intraday(detail_level = "1min")

## End(Not run)

fitbitr documentation built on March 31, 2023, 9:10 p.m.