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:
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')) |
Bug tracker:https://github.com/villegar/trainr/issues
- station_codes - National Rail Enquiries (NRE) Station Codes dataset
national-railnational-rail-darwinnational-rail-enquiriesnreuk-railwayuk-trains
Last updated 3 years agofrom:2e01d35913. Checks:OK: 1 NOTE: 6. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 21 2024 |
R-4.5-win | NOTE | Nov 21 2024 |
R-4.5-linux | NOTE | Nov 21 2024 |
R-4.4-win | NOTE | Nov 21 2024 |
R-4.4-mac | NOTE | Nov 21 2024 |
R-4.3-win | NOTE | Nov 21 2024 |
R-4.3-mac | NOTE | Nov 21 2024 |
Exports:%>%get_crsget_tokenGetArrBoardRequestGetArrBoardWithDetailsRequestGetArrDepBoardWithDetailsRequestGetDepBoardRequestGetDepBoardWithDetailsRequestGetServiceDetailsRequestset_tokenstore
Dependencies:askpassbitopsclicliprcpp11crayoncredentialscurldescdplyrfansifsgenericsgertghgitcredsgluehttr2inijsonlitelifecyclelubridatemagrittropensslpillarpkgconfigpurrrR6rappdirsRCurlrlangrprojrootrstudioapistringistringrsystibbletidyrtidyselecttimechangeusethisutf8vctrswhiskerwithrxml2yamlzip
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Get CRS code | get_crs |
Get user's token | get_token |
Get all public arrivals | GetArrBoardRequest |
Get all public arrivals | GetArrBoardWithDetailsRequest |
Get all public arrivals and departures | GetArrDepBoardWithDetailsRequest |
Get all public departures | GetDepBoardRequest |
Get all public departures | GetDepBoardWithDetailsRequest |
Get service details | GetServiceDetailsRequest |
Configure user's token | set_token |
National Rail Enquiries (NRE) Station Codes dataset | station_codes |
Store object to disk | store store.busServices store.CallingPoints store.ferryServices store.previousCallingPoints store.StationBoard store.subsequentCallingPoints store.trainServices |