get_steps_intraday {fitbitr}R Documentation

Get intraday steps time series

Description

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

Usage

get_steps_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 steps

See Also

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

Examples

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

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

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

## End(Not run)


[Package fitbitr version 0.3.0 Index]