stops_df_as_sf | R Documentation |
sf
dataframe for gtfs stopsGet a sf
dataframe for gtfs stops
stops_df_as_sf(stops_df)
stops_df |
a gtfsr$stops_df dataframe |
an sf dataframe for gtfs routes with a point column
library(gtsf) some_stops <- gtfs_obj$stops_df[sample(nrow(gtfs_obj$stops_df), 40),] some_stops_sf <- stops_df_as_sf(some_stops) plot(some_stops_sf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.