routes: Routes and respective information for the MBTA system

Description Usage Format Source Examples

Description

Routes and respective information for the MBTA system

Usage

1

Format

A data frame with columns:

route_type

A value between 0 and 4 indicating the type of vehicle use on this route. 0 is light rail, 1 is heavy rail, 2 is commuter rail, 3 is bus, and 4 is ferry.

mode_name

Official name for route: Rapid Transit, Commuter Rail, Limited Service, Local Bus, Key Bus Route (Frequent Service), Express Bus, or Ferry.

route_id

GTFS-compatible id (text or number) for route.

route_name

Longform name for route (text).

direction_0

First direction of travel.

direction_1

Second direction of travel.

Source

From the MBTA GTFS API V3 in November 2018. https://www.mbta.com/developers/gtfs

Examples

1
2
3
4
## Not run: 
 routes

## End(Not run)

justindbk/MBTAr documentation built on June 6, 2019, 10:58 a.m.