Description Usage Arguments Value Examples
View source: R/getTrafficIncidents.R
Returns incidents currently happening on the roads, such as accidents, vehicle breakdowns etc.
1 | getTrafficIncidents(api_key)
|
api_key |
API key for LTA's Datamall |
A dataframe containing each traffic incident, its type, coordinates, and description message
1 | getTrafficIncidents(mykey)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.