I have a list of list as given below. ANd I want to convert it into dataframe in the desired format.
myList:
[[1]]
NULL
[[2]]
[[2]]$`file`
[1] "ABC"
[[2]]$New
[1] 21
[[2]]$Old
[1] 42
[[3]]
[[3]]$`file`
[1] "CDF"
[[3]]$NEW
[1] 206
[[3]]$Old
[1] 84
And I want to convert this list of list object to dataframe in the desired format:
file New Old
ABC 21 42
CDF 206 84
Thanks in advance!