Description Usage Arguments Value Examples
Creates a data frame for use with the networkD3 package
1 | make_d3list(results)
|
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
1 | make_d3list(results = sf_7_results)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.