make_d3list

0th

Percentile

Creates a data frame for use with the networkD3 package

Creates a data frame for use with the networkD3 package

Usage
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

Aliases
  • make_d3list
Examples
# NOT RUN {
make_d3list(results = sf_7_results)
# }
Documentation reproduced from package rcv, version 0.2.0, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.