Disruptions API responses contain an element for every service type, eg.
metro train, taxis, Skybus. Normally we would map-reduce the content of an
API call with a function analogous to
disruption_to_tibble. But because of
the extra layer of nesting in the response, we have to map-reduce the service
The raw disruptions content returned by the
Note that we return an empty tibble if there are no disruptions, so that this situation is omitted.
A tibble with the following columns:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.