rcv-package |
Package: rcv |
add_exhausted |
Adds correct exhausted numbers for a 'rcv_tally' dataframe |
approval |
Summarizes the approval rate of the eventual winner(s) |
cambridge_ballot |
Raw ballot image data from a Cambridge, MA RCV election |
cambridge_clean |
Cleaned ballot image data from a San Francisco RCV election |
cambridge_lookup |
Raw lookup data from a Cambridge, MA RCV election |
characterize |
Replaces number string codes in ballot with character strings from lookup |
clean_ballot |
Master one-step cleaning function |
clean_mn |
Function for cleaning Minneapolis RCV data |
elected |
Summarizes which candidates were elected from the results tally |
import_data |
Imports election data |
label |
Separates single column election data frames. |
make_alluvialdf |
Creates a data frame for use with the alluvial package |
make_d3list |
Creates a data frame for use with the networkD3 package |
minneapolis_mayor_2013 |
Raw ballot data from a Minneapolis, MN RCV election |
rcv |
Package: rcv |
rcv_tally |
Determines RCV round results in a dataframe |
readable |
Alters ballot dataframe to have each row correspond to a single voter |
sf_7_results |
Tabulated results from a San Francisco RCV election |
sf_bos_ballot |
Raw ballot image data from a San Francisco RCV election |
sf_bos_clean |
Cleaned ballot image data from a San Francisco RCV election |
sf_bos_lookup |
Raw ballot lookup data from a San Francisco RCV election. |
sf_lookup_labelled |
Labelled ballot lookup data from a San Francisco RCV election. |