Filter a closure table for the root-to-leaf connections only
1 | filter_root_leaf(clsr_tbl)
|
1 2 3 | alist <- tibble::tibble(parent = c(1, 2, 2), child = c(2, 3, 4))
clsr <- closure_table(alist)
filter_root_leaf(clsr)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.