df1 <- tidytable(x = 1:3, y = 1:3)
df2 <- tidytable(x = 1:2, y = 1:2)
nested_df <-
data.table(
a = c("a", "b"),
frame_list = list(df1, df2),
vec_list = list(4:6, 7:8)
)
nested_df %>%
unnest(frame_list)
nested_df %>%
unnest(frame_list, names_sep = "_")
nested_df %>%
unnest(frame_list, vec_list)
Run the code above in your browser using DataLab