| get_stops_sf | R Documentation |
Convert GTFS Stops to Simple Features
get_stops_sf(gtfs)
gtfs |
A GTFS object or a 'stops' data frame. |
For a data frame, a WGS84 point 'sf' object. For a GTFS object, the same object with its 'stops' table converted to 'sf'.
gtfs_sf <- get_stops_sf(for_rail_gtfs)
stops_sf <- get_stops_sf(for_rail_gtfs$stops)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.