Description Usage Arguments Details
To work with networkD3 we need the hierarchy as a list of lists following JSON structure. This function takes the hierachy table and converts it to the required list of lists format.
1 | create_list(hierarchy, level = 1)
|
hierarchy |
Data frame containing hierarchy data |
level |
The level of interest |
Since we are working with sel-referential tables, the depth of each concept in the hierarchy needs to be identified first.
It accepts a level in case a lower level structure is required for the visualization
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.