make_d3list: Creates a data frame for use with the networkD3 package

Description Usage Arguments Value Examples

Description

Creates a data frame for use with the networkD3 package

Usage

1
make_d3list(results)

Arguments

results

A dataframe containing rcv election results in the format produced by 'rcv_tally()'

Value

A list of 2 dataframes that can be used to construct sankey diagrams via the networkD3 package's 'sankeyNetwork()' function

Examples

1

ds-elections/rcv documentation built on Feb. 18, 2020, 8:34 p.m.