taxi_availability: Taxi Availability

Description Usage Arguments Value Examples

View source: R/TaxiAvailability.R

Description

This functions calls upon the taxi availability API from data.gov.sg and returns a data frame of the locations of all availible taxis.

Usage

1
taxi_availability(date_time = "")

Arguments

date_time

Defaults to current (SGD) time. Format: YYYY-MM-DDTHH:MM:SS

Value

A dataframe containing the longitude and latitude values of availible taxis.

Examples

1
2
3
taxi_availability()
taxi_availability(date = "2019-08-07T09:30:00")
taxi_availability(date = "2018-06-05T13:45:00")

datagovsgR documentation built on July 1, 2020, 10:48 p.m.