R/oi_active_walk.R
oi_active_walk.RdDetermins whether or not a piece of OSM infrastructure is walkable or not
depending on whether the feature is included in the default walking network
defined by osmextract
oi_active_walk(osm_sf, remove=FALSE)A sf and data.frame object containing OpenStreetMap
infrastructure data, obtained from the
osmextract function.
Boolean - If TRUE, features that do not form part of a
walkable network are removed from the osm_sf before being returned
an sf object with oi_walk column added.
This function mimics the walking filtering steps applied by the
oe_get_network
function, part of the
osmextract package.
Note: the osm_sf must contain the following tags: c("highway", "foot", "access", "service")
data = example_data
example_output = oi_active_walk(data)