powered by
Resource path /activities/distance
get_distance(start_date, end_date)
A tibble with two columns: date and distance
date
distance
The start date of records to be returned in "yyyy-mm-dd" or date(time) format
The end date of records to be returned in "yyyy-mm-dd" or date(time) format
if (FALSE) { start_date <- lubridate::today() - lubridate::weeks(1) end_date <- lubridate::today() get_distance(date) }
Run the code above in your browser using DataLab