R/route-types.R
describe_route_type.RdThis function effectively wraps the results of route_types to
translate a route type to a human-readable form, such as translating 0 to
"Train". This function is not vectorised.
describe_route_type( route_type, user_id = determine_user_id(), api_key = determine_api_key() )
| route_type | Atomic integer or character. |
|---|---|
| user_id | Integer or character. A user ID or devid provided by Public
Transport Victoria. Refer to |
| api_key | Character. An API key, with dashes, provided by Public
Transport Victoria. Refer to |
character