nsSank
facilitates the data construction process for nswidgets::create_sankey.
It contains:
a function with a wide variety of options to create the data necessary for the Sankey widget.
options for filtering, stratification, and segmentation in the Sankey widget.
a function to describe the states and combinations at each time point, in order to facilitate data exploration and help with table creation.
a function to create a sample configuration file template.
The data returned from nsSank::sankey_maker can directly be used in nswidgets::create_sankey to render a Sankey visualization.
Bonus feature: nsSank
also creates data for sunbursts!