R: How to keep names while unnesting doubled nested tibble?
问题 at the moment I'm trying to figure out how to keep the names of an inner and other list nested within a tibble while unnesting. The .id parameter of the unnest function is the closest I found, but it starts to number the values instead of using the given names. here is a MWE with my idea of the final tibble: library(dplyr) library(tidyr) df.1 <- tibble( x = list("Foo","Bar"), y = list( list(a = list(aa = 1, ab = 2), b = list(ba = 6, bb = 22)), list(c = list(ca = 561, cb = 35), d = list(da =