View source: R/TrafficImages.R
traffic_images | R Documentation |
This functions calls upon the Traffic Images API from data.gov.sg and returns links to images of live traffic conditions along expressways and Woodlands & Tuas Checkpoints, including details of the camera location. This data provided by the API is updated every minute.
traffic_images(date_time = "")
date_time |
Defaults to current (SGD) time. Format: YYYY-MM-DDTHH:MM:SS |
A dataframe containing links to the traffic images of current traffic conditions
traffic_images()
traffic_images(date = "2022-07-01T15:32:45")
traffic_images(date = "2021-02-11T14:11:07")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.