Skip to contents

Returns time prediction accuracy data for an MBTA route.

Usage

tm_time_predictions(route_id, base_url = tm_base_url())

Arguments

route_id

Route identifier, e.g. "Red", "CR-Fairmount".

base_url

Base URL of the TransitMatters API.

Value

A list with a predictions field.

Examples

if (FALSE) { # \dontrun{
tm_time_predictions("Red")
} # }