View source: R/map-gtfs-helpers.R
| get_routes_sldf | R Documentation | 
Get shapes spatial data for given route ids
get_routes_sldf(gtfs_obj, route_ids, service_ids, shape_ids, route_opacity, route_colors)
| gtfs_obj | A GTFS list object with components agency_df, etc. | 
| route_ids | Vector (Character). IDs for routes of interest. | 
| service_ids | Vector (Character). Service IDs. NULL by Default. | 
| shape_ids | Vector (Character). Shape IDs. NULL by Default. | 
| route_opacity | Numeric. Value must be between 0 and 1. Default is NULL. | 
| route_colors | Character. Names of colors (e.g. "blue") or hex values (e.g. '#000000'). | 
Environment containing spatial data, labels, colorings used for plotting
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.