sn_subset_streets: Keep only roads within a given boundary.

View source: R/sn_get.R

sn_subset_streetsR Documentation

Keep only roads within a given boundary.

Description

Keep only roads within a given boundary.

Usage

sn_subset_streets(boundary, streets)

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)

giocomai/streetnamer documentation built on Oct. 14, 2023, 6:27 p.m.