Description Usage Arguments Value Examples
View source: R/getTrainAlerts.R
Returns alerts on train service unavailability during scheduled operating hours.
1 | getTrainAlerts(api_key)
|
api_key |
API key for LTA's Datamall |
If there is a train service disruption, it will return a dataframe containing the alerts and their respective details.
1 | getTrainAlerts(mykey)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.