get_streets: Get streets

View source: R/get_streets.R

get_streetsR Documentation

Get streets

Description

Get streets in Baltimore City by name with option to exclude streets by name, crop to a bounding box, or to filter to selected street types or functional classifications.

Usage

get_streets(
  street_name,
  exclude_name = NULL,
  street_type = NULL,
  sha_class = NULL,
  block_num = NULL,
  bbox = NULL,
  union = TRUE
)

Arguments

street_name

Street names to return. Required.

exclude_name

Street names to exclude

street_type

selected street subtypes to include. By default, the returned data includes all subtypes except alleys ("STRALY"). Options include c("STRALY", "STRPRD", "STRR", "STREX", "STRFIC", "STRNDR", "STRURD", "STCLN", "STRTN"). Not supported for

sha_class

selected SHA classifications to include. "all" selects all streets with an assigned SHA classification (around one-quarter of all street segments). Additional options include c("COLL", "LOC", "MART", "PART", "FWY", "INT")

block_num

Integer vector with block number, e.g. 300, or range of block numbers (e.g. c(100, 500)) to filter streets.

bbox

bbox to crop returned streets. Optional.

union

Logical. If TRUE, use st_union to combine geometry by fullname of the streets.

Details

DETAILS

Value

OUTPUT_DESCRIPTION

See Also

get_area_streets

streets get_area_streets()

Examples

get_streets(street_name = "UNIVERSITY PKWY")

get_streets(street_name = c("E FAYETTE", "ORLEANS"), block_num = c(1700, 3600))

elipousson/mapbaltimore documentation built on Nov. 11, 2024, 8:25 p.m.