bus_routes | R Documentation |
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.
bus_routes(api_key = wmata_key())
api_key |
Subscription key which provides access to this API. Defaults
|
A tibble with 3 variables and one row per route variant:
Unique identifier for a given route variant. Can be used in various other bus-related methods.
Descriptive name of the route variant.
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.
Data frame containing route variant information
Other Bus Route and Stop Methods:
bus_departs()
,
bus_path()
,
bus_position()
,
bus_schedule()
,
bus_stops()
## Not run:
bus_routes()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.