R/streetNames.R

Defines functions streetNames

Documented in streetNames

#' Street names (alphabetized).
#'
#' Unique road names from Snow's cholera map.
#' @note See vignette("roads"), and roads and road.segment data frames.
#' @return An R character vector.
#' @export

streetNames <- function() {
  rd.nm <- sort(unique(cholera::roads$name))
  rd.nm[rd.nm != "Map Frame"]
}

Try the cholera package in your browser

Any scripts or data that you put into this service are public.

cholera documentation built on March 7, 2023, 5:31 p.m.