bus_routes {metro} | R Documentation |
Bus Routes
Description
Returns a list of all bus route variants (patterns). For example, the 10A and 10Av1 are the same route, but may stop at slightly different locations.
Usage
bus_routes(api_key = wmata_key())
Arguments
api_key |
Subscription key which provides access to this API. Defaults
|
Format
A tibble with 3 variables and one row per route variant:
- RouteID
Unique identifier for a given route variant. Can be used in various other bus-related methods.
- Name
Descriptive name of the route variant.
- LineDescription
Denotes the route variant's grouping - lines are a combination of routes which lie in the same corridor and which have significant portions of their paths along the same roadways.
Value
Data frame containing route variant information
See Also
Other Bus Route and Stop Methods:
bus_departs()
,
bus_path()
,
bus_position()
,
bus_schedule()
,
bus_stops()
Examples
## Not run:
bus_routes()
## End(Not run)