
Flatten a nested API response to a tibble
flatten_response.RdRecursively flattens a nested list into a single-row tibble. Nested lists that cannot be further flattened are kept as list-columns.
Value
A single-row tibble::tibble().
Examples
if (FALSE) { # \dontrun{
herb <- get_herb("UNITCM_H001")
flatten_response(herb)
} # }