Air_Schedule | R Documentation |
The function is used to download the schedule of airline. And it supports to download data of domestic and international flights.
Air_Schedule(access_token, domestic=T, out=F)
access_token |
Your access token given by TDX platform. This can be derived from the function |
domestic |
TRUE for the domestic airline, while FALSE for the international airline. |
out |
If the result should be exported to the local, please fill in the directory. The default value is FALSE, which does not export the data. Note that the directory must contain ".csv" or ".txt" when exporting text file. |
Maintainer: Chia Jung, Yeh chia-jung.yeh@sydney.edu.au
# Retrieve the schedule of domestic flight
Air_Schedule(access_token, domestic=T)
# Retrieve the schedule of international flight
Air_Schedule(access_token, domestic=F, "./international_flight.csv")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.