make_alluvialdf

0th

Percentile

Creates a data frame for use with the alluvial package

Creates a data frame for use with the alluvial package

Usage
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

Aliases
  • make_alluvialdf
Examples
# NOT RUN {
make_alluvialdf(image = sf_bos_clean, rcvcontest = "Board of Supervisors, District 7")
# }
Documentation reproduced from package rcv, version 0.2.0, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.