map_area_in_areas: Map area within selected overlapping areas

View source: R/map_area_in_areas.R

map_area_in_areasR Documentation

Map area within selected overlapping areas

Description

Map an area or areas within selected overlapping areas.

Usage

map_area_in_areas(
  area,
  type = c("neighborhood", "council district", "legislative district",
    "congressional district", "planning district", "police district", "csa"),
  show_area = TRUE,
  show_label = FALSE,
  background = NULL
)

Arguments

area

sf object. Required

type

Type of area to map. Supports the same types as the get_area function.

show_area

Logical. Default TRUE.

show_label

Logical. Default FALSE. If TRUE, label areas with ggplot2::geom_sf_label()

background

ggplot layer. Default NULL. Passing a ggplot2 layer may be necessary to have an appropriate background for the congressional district maps.


elipousson/mapbaltimore documentation built on April 2, 2024, 4:23 p.m.