Learn R Programming

MBTAr (version 2.0.0)

routes: Routes and respective information for the MBTA system

Description

Routes and respective information for the MBTA system

Usage

routes

Arguments

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.

Examples

Run this code
# NOT RUN {
 routes
# }

Run the code above in your browser using DataLab