traffic_images {datagovsgR} | R Documentation |
Traffic Images
Description
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.
Usage
traffic_images(date_time = "")
Arguments
date_time |
Defaults to current (SGD) time. Format: YYYY-MM-DDTHH:MM:SS |
Value
A dataframe containing links to the traffic images of current traffic conditions
Examples
traffic_images()
traffic_images(date = "2022-07-01T15:32:45")
traffic_images(date = "2021-02-11T14:11:07")
[Package datagovsgR version 1.0.1 Index]