get_bus_routes: get_bus_routes

Description Usage Arguments Value Examples

View source: R/get_bus_routes.R

Description

get_bus_routes() fetches the route ID, name, and color of all buses routes currently available.

Usage

1
get_bus_routes(key = Sys.getenv("ctar_api_key"))

Arguments

key

The Chicago Transit Authority developer API key either entered as a string or saved to the environment object 'ctar_api_key'

Value

Returns a dataframe with the route ID, name, and color for all CTA bus routes.

Examples

1
2
3
4
## Not run: 
get_bus_routes(key = Sys.getenv("ctar_api_key"))

## End(Not run)

willdebras/ctar documentation built on Nov. 5, 2019, 12:20 p.m.