Description Usage Arguments Value
View source: R/hierarchy-helpers.R
The no-parent rows are the parents of all regions that themselves have no parent regions. These are identified as the rows who's parent_region_id does not appear in the 'id' column. They are added so that all parts of the hierarchy terminate at a well-defined "parent_region_level" regardless of the depth of the hierarchy.
1 |
table |
h_table to check for no-parent codes. |
data frame rows for all no-parent rows (with ZERO as parent).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.