getBusPassengerVol_od: Passenger Volume by Origin/Destination Bus Stops

Description Usage Arguments Value Examples

View source: R/getBusPassengerVol_od.R

Description

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.

Usage

1
getBusPassengerVol_od(date = Sys.Date() - 60, api_key)

Arguments

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

Value

A link from which the user can download the CSV file.

Examples

1

shaunkhoo/ltaer documentation built on Sept. 6, 2020, 8:24 p.m.