get_intraday_time_series: Get an intraday time series

View source: R/intraday.R

get_intraday_time_seriesR Documentation

Get an intraday time series

Description

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

Usage

get_intraday_time_series(
  resource = c("active-zone-minutes", "calories", "distance", "elevation", "floors",
    "heart", "steps"),
  date,
  detail_level,
  start_time,
  end_time
)

Arguments

resource

The resource to get

date

A date to get data for

detail_level

The detail level. One of "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

Value

A tibble with two columns: time and {{resource}}


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