get_intraday_time_series {fitbitr}R 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}}


[Package fitbitr version 0.3.0 Index]