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)


redist documentation built on June 24, 2024, 9:10 a.m.