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 disruptions API call.

Value

A tibble with the following columns:


[Package ptvapi version 2.0.5 Index]