run_to_tibble {ptvapi} | R Documentation |
Convert a single run to a tibble
Description
This function is designed to parse the content returned by the interior steps
of the runs_on_route
and run_information
functions.
Usage
run_to_tibble(run)
Arguments
run |
A run, as a list, returned by the |
Value
A tibble with the following columns:
-
run_id
(deprecated, userun_ref
instead) -
run_ref
-
route_id
-
route_type
-
route_type_description
-
direction_id
-
run_sequence
-
final_stop_id
-
destination_name
-
status
-
express_stop_count
-
vehicle_position
-
vehicle_descriptor
-
geopath
[Package ptvapi version 2.0.5 Index]