Unlisting lists inside data frame and put them in different columns in r

I used the Twitter API to get lots of tweets. What I did was to create a df with the data I want: preprocess <- function(df) { df_tw <- do.call(rbind,lapply(df, function (m) data.frame(text = df$text, lang = df$lang, geo = df$geo, date = df$created_at))) # Select unique rows based on the text column only df_u… Read More Unlisting lists inside data frame and put them in different columns in r