Skip to contents

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

Examples

if (FALSE) {
date <- lubridate::today()

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

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