disruption_information | R Documentation |
This function can be used when the integer disruption ID is already known.
This can be searched for with either disruptions
,
disruptions_on_route
, or disruptions_at_stop
functions.
disruption_information(
disruption_id,
user_id = determine_user_id(),
api_key = determine_api_key()
)
disruption_id |
Integer. |
user_id |
Integer or character. A user ID or devid provided by Public
Transport Victoria. Refer to |
api_key |
Character. An API key, with dashes, provided by Public
Transport Victoria. Refer to |
A tibble with the following columns:
disruption_mode
disruption_mode_description
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
## Not run:
disruption_information(206639)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.