make_alluvialdf: Creates a data frame for use with the alluvial package

Description Usage Arguments Value Examples

Description

Creates a data frame for use with the alluvial package

Usage

1
make_alluvialdf(image, rcvcontest)

Arguments

image

A dataframe containing rcv election data

rcvcontest

The election to calculate results for

Value

A dataframe that counts how many ballots follow each unique "path" of candidates through the election rounds

Examples

1
2
3
4
## Not run: 
make_alluvialdf(image = sf_bos_clean, rcvcontest = "Board of Supervisors, District 7")

## End(Not run)

rcv documentation built on May 2, 2019, 8:35 a.m.