carpark_availability {datagovsgR} | R Documentation |
Carpark Availability
Description
This functions calls upon the carpark availability API from data.gov.sg and processes the returning page.
Usage
carpark_availability(date_time = "")
Arguments
date_time |
Defaults to current (SGD) time. Format: YYYY-MM-DDTHH:MM:SS |
Value
A dataframe containing the carpark id, type, last update, total lots, and current lots.
Examples
carpark_availability()
carpark_availability(date = "2019-06-05T10:10:10")
carpark_availability(date = "2018-12-01T19:32:56")
[Package datagovsgR version 1.0.1 Index]