Access Data from the Massachusetts Bay Transit Authority (MBTA) Web API


[Up] [Top]

Documentation for package ‘MBTAr’ version 2.0.0

Help Pages

routes Routes and respective information for the MBTA system
Talertbyid Queries active and upcoming times for a particular alert.
Talerts Query all active and upcoming alerts.
Tdailymetrics Query daily performance statistics.
Theadways To get headways and train arrive times for a given station/route/direction in a certain time window.. Returns a list of headways at an origin station during a particular time period on a particular route.
Theadwaysperformance Function to return performance data based on headways surrounding a given passenger's arrival time at a station on a given route.
Tmetrics Query real-time performance statistics.
Tpredictionsbyroute Query predictions by route
Tpredictionsbystop Query predictions by stop
Tpredictionsbytrip Query predictions by trip
Troutes Query all T routes
Troutesbystop Query all routes at a stop
Tschedulebyroute Query the schedule by route
Tschedulebystop Query schedule by stop
Tschedulebytrip Query schedule by trip
Tservertime Queries the current MBTA API server time.
Tstopsbylocation Query stops by goegraphic location
Tstopsbyroute Query stops by route
Tstopslookup Search for information on a stop with a given name. Useful when stop_id is not known.
Ttravelperformance Query performance statistics for many trips contained in a dataframe.
Ttraveltimes Query travel times and travel time performance
Tvehiclesbyroute Query vehicles by a route
Tvehiclesbytrip Query vehicles by a particular trip.