map_area_in_city: Map area in the context of city boundaries

View source: R/map_area_in_city.R

map_area_in_cityR Documentation

Map area in the context of city boundaries

Description

[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

## Not run: 
## 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"
)

## End(Not run)

## Not run: 
## 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"
)

## End(Not run)

## Not run: 
## Area with a defined map title
canton_industrial <- get_area(
  type = "neighborhood",
  area_name = "Canton Industrial Area"
)

map_area_in_city(area = canton_industrial)

## End(Not run)


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