Air_Schedule: Retrieve the schedule of domestic or international airline...

Air_ScheduleR Documentation

Retrieve the schedule of domestic or international airline flights

Description

The function is used to download the schedule of airline. And it supports to download data of domestic and international flights.

Usage

Air_Schedule(access_token, domestic=T, out=F)

Arguments

access_token

Your access token given by TDX platform. This can be derived from the function get_token().

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.

Author(s)

Maintainer: Chia Jung, Yeh chia-jung.yeh@sydney.edu.au

Examples

# 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")

ChiaJung-Yeh/NYCU_TDX documentation built on Nov. 25, 2024, 6:57 a.m.