cl_levels | R Documentation |
Get the hierarchical level for each code in a code list
cl_levels(codelist)
codelist |
the |
Levels are numbered with 0 being the top-most level, which contains code without parent (parent missing). In level 1 are codes that have a parent in level 0. Etc.
When the code list does not have a 'parent' column, all codes are in level 0.
An integer vector with the same length as the number of rows in the code list.
data(objectcodes)
cl_levels(objectcodes)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.