Description Usage Arguments Value Examples
Get a sf dataframe for gtfs routes
| 1 | routes_df_as_sf(gtfs_obj, route_ids = NULL, service_ids = NULL)
 | 
| gtfs_obj | gtfsr object | 
| route_ids | select routes to convert to simple features | 
| service_ids | select service_ids to convert to simple features | 
an sf dataframe for gtfs routes with a multilinestring column
| 1 2 3 | data(gtfs_obj)
routes_sf <- routes_df_as_sf(gtfs_obj)
plot(routes_sf[1,])
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.