Returns a list of travel times between an origin destination pair during a particular time period.
Ttraveltimes(from_stop_id, to_stop_id, route_id = NULL,
from_datetime = (Sys.time() - 3600),
to_datetime = Sys.time(),
api_key)
GTFS-compatible stop_id for the origin stop for which travel times should be returned.
GTFS-compatible stop_id for the destination stop for which travel times should be returned.
GTFS-compatible route_id value for which travel times should be returned. If this is not included, travel times for all routes between the from and to stop will be provided.
The start of the time period that the travel time (arrival time at the destination stop) should fall within; converts to epoch time.
The end of the time period that the travel time (arrival time at the destination stop) should fall within; converts to epoch time.
API key for MBTA API. To obtain one, visit the MBTA Developer Portal (https://mbta.com/developers/mbta-performance)
Route ID for which travel time are returned.
Direction id for which travel times are returned.
Actual departure times from origin stop during the time window specified.
Actual arrival times at destination stop during the time window specified.
Actual travel times for all trips during time window specified, in seconds.
Benchmark travel times for each trip, in seconds. Benchmarks are based on median travel times during the last 30 days.