stop_to_tibble {ptvapi} | R Documentation |
Convert a single stop to a tibble
Description
This function is designed to parse the content returned by the interior
steps of the stops_on_route
and stops_nearby
functions.
Usage
stop_to_tibble(stop)
Arguments
stop |
A stop, as a list, returned by a stops API call. |
Value
A tibble with the following columns:
stop_id
stop_name
stop_suburb
route_type
route_type_description
stop_sequence
stop_latitude
stop_longitude
disruption_ids
[Package ptvapi version 2.0.5 Index]