Skip to contents

[Deprecated] Map showing the location of an area within the city.

Usage

map_area_in_city(area, area_label = NULL)

Arguments

area

sf object with a 'name' column. Required.

area_label

area label to replace area name. Optional.

Examples

if (FALSE) { # \dontrun{
## Area with a defined label
district2 <- get_area(
  type = "council district",
  area_id = "2"
)

map_area_in_city(
  area = district2,
  area_label = "Baltimore's Second Council District"
)
} # }

if (FALSE) { # \dontrun{
## Multiple areas in a single map
selected_se_neighborhoods <- get_area(
  type = "neighborhood",
  area_name = c("Upper Fells Point", "Fells Point", "Canton")
)

map_area_in_city(
  area = selected_se_neighborhoods,
  area_label = "Southeast Baltimore neighborhoods"
)
} # }

if (FALSE) { # \dontrun{
## Area with a defined map title
canton_industrial <- get_area(
  type = "neighborhood",
  area_name = "Canton Industrial Area"
)

map_area_in_city(area = canton_industrial)
} # }