Description Usage Arguments Value
Prepare nodes and links to generate a Sankey diagram
1 | preparesankeynodes(dtf, reporter, partner, debugname = FALSE)
|
dtf |
a data frame of trade flows data |
reporter |
data frame of reporter codes and names |
partner |
data frame of partner codes and names |
a list of data frames with links and nodes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.