This repo won’t be updated anymore as the this feature will be discontinued from our side. Please be aware that no new data will be updated starting 21 March 2023.
Provides RapidRail Trains Frequency History starting from 22 July 2022 02:50:52 PM
Star this repo if it helps you!
To allow public do analysis based on the history of RapidKL train frequency published on PULSE and make comparison and determine the changes of train frequency from time to time.
MTREC Train Frequency Log
- Available in 2 formats :
csv
andjson
The MTREC Train Frequency Log
will be updated every 5 minutes on our backend system and published to Github every 10 minutes.
However , it may not be updated each 10 minutes , it may be delayed.
Explaination from Github : The schedule event can be delayed during periods of high loads of GitHub Actions workflow runs. High load times include the start of every hour. To decrease the chance of delay, schedule your workflow to run at a different time of the hour.
MTREC Train Frequency Log
CSV :
date
: Date when the Train Frequency being loggedtime
: Time when the Train Frequency being loggedline_short_code
: The abbreviation of the line name when the Train Frequency being loggedheadsign
: The terminus for the train when the Train Frequency being loggedfreq_in_sec
: The frequency of the train in seconds
JSON :
timestamp
: The date and time when the Train Frequency being loggedline_short_code
: The abbreviation of the line name when the Train Frequency being loggedheadsign
: The terminus for the train when the Train Frequency being loggedfreq_in_sec
: The frequency of the train in seconds
Notes
:
There will be four sameline_short_code
forSPL (Sri Petaling Line)
because our backend will log the train frequencies in CBD and non CBD station.
The first twoSPL
are logged in CBD station while the others are logged in Non CBD Station.
(Removed since 26 July 2022, 05:56:18 PM
to avoid confuse , PULSE showing same headway_sec
for CBD stations / NON CBD stations)
- N/A in
freq_in_sec
during normal train services : PULSE didn't returnheadway_sec
from their API during that time
If you are unable to retrieve the latest datasets from our Github repo due to the delay of Github actions , please use the link below to access our datasets.
- CSV : https://rapidrail-train-freq-history-csv.mtrec.workers.dev/
- JSON : https://rapidrail-train-freq-history-json.mtrec.workers.dev/
- PULSE by Prasarana ,
headway_sec
from their API
- Sam Sam
- Kai Xian