Rail_Station | R Documentation |
The function is used to download the stations of each railway route with geometry.
Rail_Station(access_token, operator, dates=F, dtype="text", out=F)
access_token |
Your access token given by TDX platform. This can be derived from the function |
operator |
Please fill in the operator code of given railway system. Checking out the appropriate operator code in dataframe |
dates |
If historical data would be retrieved, this argument should be set; otherwise the default value is FALSE. The date format should be |
dtype |
The class of data, including |
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 ".shp" when exporting simple feature. And the directory must contain ".csv" or ".txt" when exporting text file. |
Maintainer: Chia Jung, Yeh chia-jung.yeh@sydney.edu.au
Rail_Station(access_token, "THSR")
Rail_Station(access_token, "TRTC", dtype="sf", out="./taipei_mrt_stop.shp")
# historical data
Rail_Station(access_token, "TRTC", "2022-01-01")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.