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-any)trainR_0.0.1.9000.zip(r-4.6-any)trainR_0.0.1.9000.zip(r-4.5-any)
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✨
DESCRIPTION |NEWS
card.svg |card.png
trainR/json (API)

# 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 6 scripts 297 downloads 11 exports 47 dependencies

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

TargetResultTimeFilesSyslog
linux-develNOTE121
source / vignettesOK186
linux-releaseNOTE113
macos-releaseNOTE88
macos-oldrelNOTE110
windows-develNOTE66
windows-releaseNOTE72
windows-oldrelNOTE73
wasm-releaseOK95

Exports:%>%get_crsget_tokenGetArrBoardRequestGetArrBoardWithDetailsRequestGetArrDepBoardWithDetailsRequestGetDepBoardRequestGetDepBoardWithDetailsRequestGetServiceDetailsRequestset_tokenstore

Dependencies:askpassbitopsclicliprcpp11crayoncredentialscurldescdplyrfsgenericsgertgitcredsgluehttr2inijsonlitelifecyclelubridatemagrittropensslpakpillarpkgconfigpurrrR6rappdirsRCurlrlangrprojrootrstudioapistringistringrsystibbletidyrtidyselecttimechangeusethisutf8vctrswhiskerwithrxml2yamlzip

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