I have a similar question to this: How to transform XML data into a data.frame?
I have an XML, that I want to convert to a data frame. But when I try this on my data, it doesn't work because i have different number of elements in my list
df3 = plyr::ldply(xmlToList(books), data.frame)
Error in (function (..., row.names = NULL, check.rows = FALSE, check.names = TRUE, : arguments imply differing number of rows: 9, 10
Could anyone tell me how to convert XML to data frame when there are different number of elements in my list?
Thanks,