Returns alerts of traffic lights that are either currently faulty or are undergoing scheduled maintenance.

getFaultyTrafficLights(api_key)

Arguments

api_key

API key for LTA's Datamall

Value

A dataframe containing the alerts for each traffic light fault, such as the type of failure and start date-time

Examples

# NOT RUN {
getFaultyTrafficLights(mykey)
# }