get_disruptions_station: Get disruptions and engineering work

Description Usage Arguments Details Value Functions

View source: R/api_calls_authentification.R

Description

These 3 functions call out to find out about disruptions and engineering on the tracks for the current time, for the next 2 weeks or a specific station.

Usage

1
2
3
4
5

Arguments

station

optional, station names need to be in Dutch and the NS webservice also accepts short versions:f.i. Groningen or GN

Details

These are all the disruptions of the railroad at this moment. So both unscheduled work and work and work that was scheduled and currently underway. Use get_current_disruptions()

Get all the scheduled engineering work for the next 2 weeks with get_scheduled_engineering_work(). This will exclude work that was unplanned.

Use get_disruptions_station() and give a station name as argument.

https://www.ns.nl/en/travel-information/ns-api/documentation-disruptions-and-maintenance-work.html

Value

a dataframe with disruptions. Date time columns are formatted as time in "Europe/Amsterdam" timezone.

Functions


nsapi documentation built on May 1, 2019, 9:19 p.m.