rcv (version 0.2.0)

rcv_tally: Determines RCV round results in a dataframe

Description

Determines RCV round results in a dataframe

Usage

rcv_tally(image, rcvcontest)

Arguments

image

A dataframe containing rcv election data

rcvcontest

(optional) The election to calculate results for. If the image contains more than one unique contest, this must be supplied. In most cases except for some San Francisco elections, this is unnecessary.

Value

A dataframe that contains vote tallies

Examples

Run this code
# NOT RUN {
rcv_tally(image = sf_bos_clean, rcvcontest = "Board of Supervisors, District 7")
# }

Run the code above in your browser using DataLab