Ship_Route: Retrieve the detailed information of each ship route

Ship_RouteR Documentation

Retrieve the detailed information of each ship route

Description

The function is used to download the ship route information by given county, including the route name, port name of OD pair, and the description of the schedule.

Usage

Ship_Route(access_token, county, out=F)

Arguments

access_token

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

county

Please fill in the English county name. Checking out the appropriate county name in dataframe TDX_County. Note that the county is valid when there are ports in the county.

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.

Author(s)

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

Examples

Ship_Route(access_token, "NewTaipei")
Ship_Route(access_token, "PenghuCounty", out="./Penghu_Ship_Route.csv")

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