tally_var: Tally a variable by district

View source: R/plans_helpers.R

tally_varR Documentation

Tally a variable by district

Description

Tally a variable by district

Usage

tally_var(map, x, .data = pl())

Arguments

map

a redist_map object

x

a variable to tally. Tidy-evaluated.

.data

a redist_plans object or matrix of plans

Value

a vector containing the tallied values by district and plan (column-major)


kosukeimai/redist documentation built on March 28, 2024, 7:36 a.m.