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.5)trainR_0.0.1.9000.zip(r-4.4)trainR_0.0.1.9000.zip(r-4.3)
trainR_0.0.1.9000.tgz(r-4.4-any)trainR_0.0.1.9000.tgz(r-4.3-any)
trainR_0.0.1.9000.tar.gz(r-4.5-noble)trainR_0.0.1.9000.tar.gz(r-4.4-noble)
trainR_0.0.1.9000.tgz(r-4.4-emscripten)trainR_0.0.1.9000.tgz(r-4.3-emscripten)
trainR.pdf |trainR.html
trainR/json (API)
NEWS

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

Peer review:

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

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

On CRAN:

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

11 exports 8 stars 1.40 score 48 dependencies 8 scripts 220 downloads

Last updated 3 years agofrom:2e01d35913. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 23 2024
R-4.5-winNOTEAug 23 2024
R-4.5-linuxNOTEAug 23 2024
R-4.4-winNOTEAug 23 2024
R-4.4-macNOTEAug 23 2024
R-4.3-winNOTEAug 23 2024
R-4.3-macNOTEAug 23 2024

Exports:%>%get_crsget_tokenGetArrBoardRequestGetArrBoardWithDetailsRequestGetArrDepBoardWithDetailsRequestGetDepBoardRequestGetDepBoardWithDetailsRequestGetServiceDetailsRequestset_tokenstore

Dependencies:askpassbitopsclicliprcpp11crayoncredentialscurldescdplyrfansifsgenericsgertghgitcredsgluehttr2inijsonlitelifecyclelubridatemagrittropensslpillarpkgconfigpurrrR6rappdirsRCurlrlangrprojrootrstudioapistringistringrsystibbletidyrtidyselecttimechangeusethisutf8vctrswhiskerwithrxml2yamlzip

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