powered by
Creates a data frame for use with the alluvial package
make_alluvialdf(image, rcvcontest)
A dataframe containing rcv election data
The election to calculate results for
A dataframe that counts how many ballots follow each unique "path" of candidates through the election rounds
# NOT RUN { make_alluvialdf(image = sf_bos_clean, rcvcontest = "Board of Supervisors, District 7") # }
Run the code above in your browser using DataLab