Rdocumentation
powered by
Learn R Programming
pinnacle.API (version 1.90)
JSONtoDF: Sets the determined depth as a data.frame, and evades R's list-dropping rules
Description
Sets the determined depth as a data.frame, and evades R's list-dropping rules
Usage
JSONtoDF(x, depth = 5, flag = TRUE)
Arguments
x
a list
depth
numeric value of the number of sublist
flag
whether to start with combining factors or binding rows
Value
a tree with the defined level as a dataframe