Tstopslookup: Search for information on a stop with a given name. Useful...

Description Usage Arguments Value Examples

Description

Search for information on a stop with a given name. Useful when stop_id is not known.

Usage

1
Tstopslookup(stop_name)

Arguments

stop_name

Name of stop to search for.

Value

Dataframe with row for each potential matching stop and the following columns:

route_id

GTFS-compatible route_id for the stop match.

direction_id

Direction ID (0/1)

direction_name

Human-readable direction identifier

stop_order

Order in given direction of stop

stop_id

GTFS-compatible ID of stop

stop_name

Name of stop

parent_station

Parent station GTFS-compatible ID

parent_station_name

Parent station name

stop_lat

Stop latitude

stop_lon

Stop longitude

Examples

1
2
3
4
## Not run: 
Tstopslookup(stop_name = "Mattapan") # this would take a long tiem (~70 seconds) so is left out here

## End(Not run)

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

Related to Tstopslookup in MBTAr...