Description Usage Arguments Details
When data gathering takes place for concept hierarchies there are two approaches: Counts are made to the lowest possible level (this is common in biological sciences), or counts are made to a specific level (as may be more common in competency data, where the value is part of the definition of the model).
1 | inspect_hierarchy(data, hierarchy)
|
data |
Data object to be included |
hierarchy |
Data frame containing hierarchy data |
We need to know which is which, so we test when a higher order concept has children in the dataset whether these are already a sum of the lower concepts or a different value. The result is a data frame with two columns: 'concept name' and 'accumulated'. The latter has a yes/no value. resulting data frame has column names as the aggregated columns.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.