Bus_Vehicle | R Documentation |
The function is used to download the vehicle of each bus operator. Note that it supports to download data of city buses and intercity buses.
Bus_Vehicle(access_token, county, out=F)
access_token |
Your access token given by TDX platform. This can be derived from the function |
county |
Please fill in the English county name. Checking out the appropriate county name in dataframe |
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. |
Some columns definition are listed below.
PlateNumb | The plate number of vehicle. | |
SubRouteUID | If the direction or subroute is not the same, a different SubRouteUID must be recorded. | |
Codes of VehicleClass are listed below.
1 | bus |
2 | midibus |
3 | minibus |
4 | double-decker bus |
5 | articulated bus |
6 | taxi |
Codes of VehicleType are listed below.
0 | general |
1 | barrier-free bus |
2 | rehabus |
3 | minibus |
4 | charter bus |
5 | others |
Maintainer: Chia Jung, Yeh chia-jung.yeh@sydney.edu.au
Bus_Vehicle(access_token, "Taipei")
Bus_Vehicle(access_token, "Hsinchu", out="./Hsinchu_Bus_Vehicle.csv")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.