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

8 exports 2 stars 0.23 score 12 dependencies 7 scripts 21 downloads

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

TargetResultDate
Doc / VignettesOKAug 27 2024
R-4.5-winOKAug 27 2024
R-4.5-linuxOKAug 27 2024
R-4.4-winOKAug 27 2024
R-4.4-macOKAug 27 2024
R-4.3-winOKAug 27 2024
R-4.3-macOKAug 27 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 Aug 27 2024.

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