Description Usage Arguments Value Examples
View source: R/get_bus_route_directions.R
get_bus_route_directions() takes a CTA route ID and returns the directions it travels.
1 2 | get_bus_route_directions(route = NULL,
key = Sys.getenv("ctar_api_key"))
|
route |
The bus route ID, such as 12. |
key |
The Chicago Transit Authority developer API key either entered as a string or saved to the environment object 'ctar_api_key' |
Returns a dataframe with the directions for a specific CTA bus route.
1 2 3 4 | ## Not run:
get_bus_route_directions(route=12, key = Sys.getenv("ctar_api_key"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.