Package: trainR 0.0.1.9000

trainR: An Interface to the National Rail Enquiries Systems

The goal of 'trainR' is to provide a simple interface to the National Rail Enquiries (NRE) systems. There are few data feeds available, the simplest of them is Darwin, which provides real-time arrival and departure predictions, platform numbers, delay estimates, schedule changes and cancellations. Other data feeds provide historical data, Historic Service Performance (HSP), and much more. 'trainR' simplifies the data retrieval, so that the users can focus on their analyses. For more details visit <https://www.nationalrail.co.uk/46391.aspx>.

Authors:Roberto Villegas-Diaz [aut, cre]

trainR_0.0.1.9000.tar.gz
trainR_0.0.1.9000.zip(r-4.7)trainR_0.0.1.9000.zip(r-4.6)trainR_0.0.1.9000.zip(r-4.5)
trainR_0.0.1.9000.tgz(r-4.6-any)trainR_0.0.1.9000.tgz(r-4.5-any)
trainR_0.0.1.9000.tar.gz(r-4.7-any)trainR_0.0.1.9000.tar.gz(r-4.6-any)
trainR_0.0.1.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
trainR/json (API)
NEWS

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

Bug tracker:https://github.com/villegar/trainr/issues

Pkgdown/docs site:https://villegar.github.io

Datasets:
  • station_codes - National Rail Enquiries (NRE) Station Codes dataset

On CRAN:

Conda:

national-railnational-rail-darwinnational-rail-enquiriesnreuk-railwayuk-trains

3.65 score 9 stars 9 scripts 198 downloads 11 exports 47 dependencies

Last updated from:2e01d35913. Checks:7 NOTE, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64NOTE115
source / vignettesOK179
linux-release-x86_64NOTE141
macos-release-arm64NOTE171
macos-oldrel-arm64NOTE139
windows-develNOTE84
windows-releaseNOTE75
windows-oldrelNOTE71
wasm-releaseOK118

Exports:%>%get_crsget_tokenGetArrBoardRequestGetArrBoardWithDetailsRequestGetArrDepBoardWithDetailsRequestGetDepBoardRequestGetDepBoardWithDetailsRequestGetServiceDetailsRequestset_tokenstore

Dependencies:askpassbitopsclicliprcpp11crayoncredentialscurldescdplyrfsgenericsgertghgitcredsgluehttr2inijsonlitelifecyclelubridatemagrittropensslpillarpkgconfigpurrrR6rappdirsRCurlrlangrprojrootrstudioapistringistringrsystibbletidyrtidyselecttimechangeusethisutf8vctrswhiskerwithrxml2yamlzip

Readme and manuals

Help Manual

Help pageTopics
Get CRS codeget_crs
Get user's tokenget_token
Get all public arrivalsGetArrBoardRequest
Get all public arrivalsGetArrBoardWithDetailsRequest
Get all public arrivals and departuresGetArrDepBoardWithDetailsRequest
Get all public departuresGetDepBoardRequest
Get all public departuresGetDepBoardWithDetailsRequest
Get service detailsGetServiceDetailsRequest
Configure user's tokenset_token
National Rail Enquiries (NRE) Station Codes datasetstation_codes
Store object to diskstore store.busServices store.CallingPoints store.ferryServices store.previousCallingPoints store.StationBoard store.subsequentCallingPoints store.trainServices