Core Functions

Functions for connecting with LTA’s APIs

getBusPassengerVol()

Passenger Volume by Bus Stop

getBusPassengerVol_od()

Passenger Volume by Origin/Destination Bus Stops

getBusRoutes()

Bus Routes

getBusServices()

Bus Routes

getBusStops()

Bus Stops

getBusTimings()

Bus Timings

getCarparkAvail()

Carpark Availability

getERPRates()

ERP Rates

getEstTravelTime()

Estimated Travel Times

getFaultyTrafficLights()

Faulty Traffic Lights

getRoadOpenings()

Road Openings

getRoadWorks()

Road Works

getTaxiAvail()

Taxi Availability

getTrafficImages()

Traffic Images

getTrafficIncidents()

Traffic Incidents

getTrafficSpeedBands()

Traffic Speed Bands

getTrainAlerts()

Train Service Alerts

getTrainPassengerVol()

Passenger Volume by Train Station

getTrainPassengerVol_od()

Passenger Volume by Origin/Destination Train Station

getVMS()

Traffic Speed Bands

Visualisation Functions

Functions for visualising data from LTA’s APIs

plotSGMap()

Plot data on a static map of Singapore

exploreSGMap()

Explore data on an interactive map of Singapore

Data

Sample data bundled together with the package

bus_arrivals

Bus arrival timings

bus_routes

Bus routes

bus_stops

Bus Stops

bus_ridership_cleaned

Bus ridership

carpark_avail

Carpark Availability

taxi_avail

Taxi Availability

sg_map

Singapore Map