Description Usage Arguments Value Examples
Traverse list recursively and apply function to nodes.
1 | traverse_list_recursively(l, obj, fun)
|
l |
list() to be traversed |
obj |
Initial object which is supposed to be returned |
fun |
Function to be applied to nodes |
An object of same type as obj made by fun
1 2 | l <- list(a=1,b=list(c=2,d=3))
L <- json_to_list(l = l, obj = data.frame(), fun = make_df)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.