Troutesbystop: Query all routes at a stop

Description Usage Arguments Value See Also

Description

Returns routes that serve a particular stop.

Usage

1
Troutesbystop(stop_id = NULL, api_key) 

Arguments

stop_id

GTFS-compatible stop_id value for which routes should be returned. Example: "70065"

api_key

API key for MBTA API. To obtain one, visit the MBTA Developer Portal (http://realtime.mbta.com/Portal/)

Value

stop_id

The GTFS-compatible unique identifier for the stop for which routes are returned. Example: "70065"

stop_name

The GTFS-compatible name for the stop for which routes are returned. Example: "Porter Sq - Inbound"

route_type

The GTFS-compatible identifier for the type of service (mode). Example: "2"

mode_name

The human-readable name for the type of service (mode). Example: "Commuter Rail"

route_id

The unique GTFS-compatible identifier for the route. Example: "CR-Providence"

route_name

The human-readable name for the route. Example: "Providence/Stoughton Line"

See Also

Troutes


MBTAr documentation built on May 2, 2019, 6:59 a.m.

Related to Troutesbystop in MBTAr...