View source: R/get_dataframe_from_nested_list.R
get_dataframe_from_nested_list | R Documentation |
Return all values from a nested list in a dataframe
get_dataframe_from_nested_list(x, nestingIn = "children")
x |
The nested list |
nestingIn |
The name containing the nested lists |
A dataframe
nestedList <-
list(
id = "x",
value = "value for x",
children = list(
list(
id = "y",
value = "value for y"
),
list(
id = "z",
value = "value for z"
)
)
);
str(nestedList);
get_dataframe_from_nested_list(nestedList);
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.