Rail_TravelTime: Retrieve the travel time of each OD of railway system

Rail_TravelTimeR Documentation

Retrieve the travel time of each OD of railway system

Description

The function is used to download the travel time of each OD for a given railway system. There are two types of format of time table, general and station. general means to record the time table by each train No., while station represents record the time table based on each station. Please look up the "record" arguments below to find out details of settings.

Usage

Rail_TravelTime(access_token, operator, out=F)

Arguments

access_token

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

operator

Please fill in the operator code of given railway system. Checking out the appropriate operator code in dataframe TDX_Railway.

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

Rail_TravelTime(access_token, operator="TRTC")

ChiaJung-Yeh/NYCU_TDX documentation built on Aug. 28, 2024, 10:43 p.m.