get_distance_intraday: Get intraday distance time series

View source: R/intraday.R

get_distance_intradayR Documentation

Get intraday distance time series

Description

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

Usage

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

Arguments

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 distance

See Also

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

Examples

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

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

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

## End(Not run)


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