Keep only roads within a given boundary.

subset_roads(boundary, roads)

Arguments

boundary

An object typically created with `get_city_boundaries()`

country

The name of the country. Requested to ensure correct identification of city.

Value

A data frame of the sf class including all roads insidet the given boundary

Examples

subset_roads(city_boundary, roads)
#> Error in subset_roads(city_boundary, roads): object 'roads' not found