I have a dataframe in the following format:
id | name | logs ---+--------------------+-----------------------
This is a perfect case for tidyr:
library(tidyr) library(dplyr) dat %>% unnest(logs)