powered by
Creates a data frame for use with the networkD3 package
make_d3list(results)
A dataframe containing rcv election results in the format produced by `rcv_tally()`
A list of 2 dataframes that can be used to construct sankey diagrams via the networkD3 package's `sankeyNetwork()` function
# NOT RUN { make_d3list(results = sf_7_results) # }
Run the code above in your browser using DataLab