This functions allows to generate a hierarchical
data structure that can be used in other packages such
as cellKey
or sdcTable
.
hier_create(root = "Total", nodes = NULL)
root | (character) name of the overall total |
---|---|
nodes | (character) name of leaves (nodes) in the hierarchy |
a (nested) sdc hierarchy tree
hier_add hier_delete hier_rename hier_export hier_convert hier_app hier_info
#> tot#> tot #> ├─A #> ├─B #> ├─C #> ├─D #> └─E