Description Usage Arguments Value Examples
View source: R/getBusPassengerVol_od.R
Returns a link from LTA that enables the user to download a CSV file containing a month's worth of data on passenger volume by origin/destination bus stops.
| 1 | getBusPassengerVol_od(date = Sys.Date() - 60, api_key)
 | 
| date | Date to return the dataset for. The default is two months prior. Needs to be in the Date format. | 
| api_key | API key for LTA's Datamall | 
A link from which the user can download the CSV file.
| 1 | getBusPassengerVol_od(Sys.Date()-60, mykey)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.