route_to_tibble {ptvapi} | R Documentation |
Convert a single route to a tibble
Description
This function is designed to parse the content returned by the interior steps
of the routes
function. Service status information may be NA
,
depending on the API call that was used to populate the information.
Usage
route_to_tibble(route)
Arguments
route |
A route, as a list, returned by the |
Value
A tibble of routes, with the following columns:
-
route_id
-
route_gtfs_id
-
route_name
-
route_type
-
route_type_description
-
route_number
-
geopath
-
service_status
-
service_status_timestamp
[Package ptvapi version 2.0.5 Index]