powered by
Directions on a given route
directions_on_route( route_id, user_id = determine_user_id(), api_key = determine_api_key() )
A tibble consisting of the following columns:
direction_id
direction_name,
direction_name
route_id
route_type
route_type_description
route_direction_description
Integer. These can be listed and described with the routes function.
routes
Integer or character. A user ID or devid provided by Public Transport Victoria. Refer to ?ptvapi for more details.
?ptvapi
Character. An API key, with dashes, provided by Public Transport Victoria. Refer to ?ptvapi for more details.
if (FALSE) { directions_on_route(6) }
Run the code above in your browser using DataLab