Package: nsapi 0.1.0.9000

nsapi: Connect to the NS (Dutch Railways) API

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.

Authors:Roel M. Hogervorst [cre, aut]

nsapi_0.1.0.9000.tar.gz
nsapi_0.1.0.9000.zip(r-4.5)nsapi_0.1.0.9000.zip(r-4.4)nsapi_0.1.0.9000.zip(r-4.3)
nsapi_0.1.0.9000.tgz(r-4.4-any)nsapi_0.1.0.9000.tgz(r-4.3-any)
nsapi_0.1.0.9000.tar.gz(r-4.5-noble)nsapi_0.1.0.9000.tar.gz(r-4.4-noble)
nsapi_0.1.0.9000.tgz(r-4.4-emscripten)nsapi_0.1.0.9000.tgz(r-4.3-emscripten)
nsapi.pdf |nsapi.html
nsapi/json (API)
NEWS

# Install 'nsapi' in R:
install.packages('nsapi', repos = c('https://rmhogervorst.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/rmhogervorst/nsapi/issues

On CRAN:

api-clientnederlandse-spoorwegen-api

3.00 score 2 stars 7 scripts 29 downloads 8 exports 12 dependencies

Last updated 2 years agofrom:9b97dc6c71. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 26 2024
R-4.5-winOKOct 26 2024
R-4.5-linuxOKOct 26 2024
R-4.4-winOKOct 26 2024
R-4.4-macOKOct 26 2024
R-4.3-winOKOct 26 2024
R-4.3-macOKOct 26 2024

Exports:check_ns_api_keysdatetimeget_current_disruptionsget_departuresget_disruptions_stationget_scheduled_engineering_workget_stationlistget_travel_advise

Dependencies:clicrulcurlhttpcodejsonlitemimeR6Rcpprlangtriebeardurltoolsxml2

Basic use of the nsapi package

Rendered frombasic_use_nsapi_package.Rmdusingknitr::rmarkdownon Oct 26 2024.

Last update: 2018-08-04
Started: 2018-07-17