View source: R/CarparkAvailability.R
| carpark_availability | R Documentation | 
This functions calls upon the carpark availability API from data.gov.sg and processes the returning page.
carpark_availability(date_time = "")
| date_time | Defaults to current (SGD) time. Format: YYYY-MM-DDTHH:MM:SS | 
A dataframe containing the carpark id, type, last update, total lots, and current lots.
carpark_availability()
carpark_availability(date = "2019-06-05T10:10:10")
carpark_availability(date = "2018-12-01T19:32:56")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.