disruption_to_tibble {ptvapi} | R Documentation |
Convert a single disruption to a tibble
Description
This function is designed to parse the content returned by the interior
steps of the disruptions_on_route
and disruptions_at_stop
functions.
Usage
disruption_to_tibble(disruption)
Arguments
disruption |
A disruption, as a list, returned by the |
Value
A tibble with the following columns:
-
disruption_id
-
title
-
url
-
description
-
disruption_status
-
disruption_type
-
published_on
-
last_updated
-
from_date
-
to_date
-
routes
-
stops
-
colour
-
display_on_board
-
display_status
[Package ptvapi version 2.0.5 Index]