directions_on_route {ptvapi} | R Documentation |
Directions on a given route
Description
Directions on a given route
Usage
directions_on_route(
route_id,
user_id = determine_user_id(),
api_key = determine_api_key()
)
Arguments
route_id |
Integer. These can be listed and described with the
|
user_id |
Integer or character. A user ID or devid provided by Public
Transport Victoria. Refer to |
api_key |
Character. An API key, with dashes, provided by Public
Transport Victoria. Refer to |
Value
A tibble consisting of the following columns:
-
direction_id
-
direction_name
, -
route_id
-
route_type
-
route_type_description
-
route_direction_description
Examples
## Not run:
directions_on_route(6)
## End(Not run)
[Package ptvapi version 2.0.5 Index]