tbl_marker_key: Make a key for a marker map

View source: R/tbl_marker_key.R

tbl_marker_keyR Documentation

Make a key for a marker map

Description

Designed for use with maps created using layer_show_markers()

Usage

tbl_marker_key(
  data,
  title_col = NULL,
  groupname_col = NULL,
  number_col = NULL,
  color = FALSE,
  palette = NULL
)

Arguments

data

Data frame or sf object with marker data

title_col

Title column name, Default: NULL

groupname_col

Group column name, Default: NULL

number_col

Number column name, Default: NULL. If NULL and data does not contain a column named "number", add a number column created using dplyr::row_number() function.

color

If TRUE, apply a cell fill color to the group headings in the table (defined by groupname_col)

palette

palette to use for the group heading fill colors (passed to group_data_pal())


elipousson/birdseyeview documentation built on Sept. 26, 2022, 10:11 p.m.