get_sleep_summary {fitbitr} | R Documentation |
Nightly Sleep Summary
Description
Returns a tibble of summary by night
Usage
get_sleep_summary(start_date, end_date = start_date)
Arguments
start_date |
The start date of records to be returned in "yyyy-mm-dd" or date(time) format |
end_date |
The end date of records to be returned in "yyyy-mm-dd" or date(time) format |
Value
A tibble of a variety of sleep summary data by day
Examples
## Not run:
start_date <- lubridate::today() - lubridate::weeks(1)
end_date <- lubridate::today()
get_sleep_summary(start_date, end_date)
## End(Not run)
[Package fitbitr version 0.3.0 Index]