unbox_list_elements | R Documentation |
This function wraps a simple modify_if
function
to "unbox" list elements. This is helpful when the as_list
returns elements of XML and the element value is kept as a list of length 1,
even though it could be a single primitive data type (e.g. logical
,
character
, etc.).
unbox_list_elements(x)
x |
|
list
containing NA
in place of NULL
element values.
This function is meant to be used internally. Only use when debugging.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.