Shows up to date departure times for a station. Displays all departing trains for the next hour. At least 10 departure times will be sent back and at least all the departure times for the next hour. https://www.ns.nl/en/travel-information/ns-api/documentation-up-to-date-departure-times.html.
get_departures(station)
station | station names need to be in Dutch and the NS webservice also accepts short versions:f.i. Groningen or GN |
---|
a dataframe
# NOT RUN { get_departures("UT") # }