filter_departures | R Documentation |
The departures API call isn't always reliable. This function will take a
tibble of parsed departures content and filter it according to the following
inputs, if they are not NULL
:
Only departures after the given departs
Only departures on the given route ID
The next max_results departures per route ID, if max_results
is not
0.
filter_departures(parsed, departs = NULL, route_id = NULL, max_results = NULL)
parsed |
A tibble of parsed departures content. |
departs |
POSIXct in the "Australia/Melbourne" time zone. |
route_id |
Integer. |
max_results |
Integer max results. |
A filtered tibble.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.