traffic_images: Traffic Images

View source: R/TrafficImages.R

traffic_imagesR 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")

datagovsgR documentation built on Jan. 15, 2023, 5:07 p.m.