Description Usage Arguments Value
View source: R/create_dictionary.R
Given an object containing parent and child entries in columns from left to right, creates hierarchical named lists of lists that can be used as a dictionary object
1 | create_dictionary(x, return_dictionary = TRUE)
|
x |
a data.frame where columns represent parent and child entries in a hierarchy from left to right |
return_dictionary |
logical; if TRUE, returns a dictionary object; if FALSE, returns a list of lists |
a list of lists or hierarchical dictionary object of parents, children, and descendants
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.