Bus_Vehicle: Retrieve the detailed information of each bus route

Bus_VehicleR Documentation

Retrieve the detailed information of each bus route

Description

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.

Usage

Bus_Vehicle(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. If Intercity is used, the function retrieves the intercity bus data.

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.

Value

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

Author(s)

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

Examples

Bus_Vehicle(access_token, "Taipei")
Bus_Vehicle(access_token, "Hsinchu", out="./Hsinchu_Bus_Vehicle.csv")

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