Closed amin04 closed 9 years ago
What do you expect? The docs state that:
flatten: automatically flatten nested data frames into a single non-nested data frame
If there are no data frames in the data, there is nothing to flatten.
Sorry, meant simplifyVector=False
instead of simplifyDataFrame=FALSE
.
Those two calls give different results, even though Flatten=TRUE
for both. Why is that?
simplifyVector=FALSE
implies simplifyDataFrame=FALSE
because a data frame consists of vectors.
So Flatten=TRUE
won't work together with simplifyVector=FALSE
?
No it won't. simplifyVector=FALSE means that the output will only contain nested lists, so there are no data frames to flatten.
On Tue, May 5, 2015 at 1:45 PM, Amin Ali notifications@github.com wrote:
So Flatten=TRUE won't work together with simplifyVector=FALSE?
— Reply to this email directly or view it on GitHub.
So I have the following json data:
When I try
it works fine, gives me a flat data frame. However, when I do
the flatten option doesn't work at all. Not what I expected.