Access the NS api and download current departure times, disruptions and engineering work, the station list, and travel recommendations from station to station. All results will be returned as a 'data.frame'. NS (Nederlandse Spoorwegen; Dutch Railways) is the largest train travel provider in the Netherlands. for more information about the API itself see <https://www.ns.nl/en/travel-information/ns-api>. To use the API, and this package, you will need to obtain a username and password. More information about authentication and the use of the functions are described in the vignette.
Package details |
|
---|---|
Author | Roel M. Hogervorst [cre, aut] (<https://orcid.org/0000-0001-7509-0328>) |
Maintainer | Roel M. Hogervorst <hogervorst.rm@gmail.com> |
License | MIT + file LICENSE |
Version | 0.1.1 |
URL | https://github.com/RMHogervorst/nsapi https://rmhogervorst.nl/nsapi/ |
Package repository | View on CRAN |
Installation |
Install the latest version of this package by entering the following in R:
|
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.