Check available date ranges for a given travel mode type
Source:R/check_date_range.R
check_date_range.Rd
Useful for looking up most recent available data to avoid errors in analysis creation.
Arguments
- key
character, StreetLight API key. Default is
NULL
.- travel_mode_type
character,
All_Vehicles
,Truck
,Bicycle
, orPedestrian
. Default isAll Vehicles
- country
character, one of
"US"
or"CA"
. Default is"US"
.
Value
tibble::tibble with columns travel_mode_type
, start_date
,
and end_date
.
Examples
if (FALSE) {
library(streetlightR)
check_date_range()
}