bus_path | R Documentation |
For a given date, returns the set of ordered latitude/longitude points along a route variant along with the list of stops served.
bus_path(RouteID, Date = NULL, api_key = wmata_key())
RouteID |
Bus route variant, e.g.: 70, 10A, 10Av1. |
Date |
Date for which to retrieve route and stop information. Uses
today's date if |
api_key |
Subscription key which provides access to this API. Defaults
|
A list with 4 elements:
Bus route variant.
Descriptive name for the route.
The coordinate path of the line in both directions.
The coordinates of stops on a given line.
A list with (1) set of ordered latitude/longitude points along a route variant along with (2) the list of stops served.
Other Bus Route and Stop Methods:
bus_departs()
,
bus_position()
,
bus_routes()
,
bus_schedule()
,
bus_stops()
## Not run:
bus_path("70")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.