What I want to do
I want to extract the screen_name value under user_mention which in this case paijodirajo. Except, I want to get all rows screen_name data instead of only first row.
I'm using this stupid code df[[7]][[1:10000]]$user_mentions$screen_name which ofcourse failed, but you get the idea.
Since I'm struggling to address the location of the value, creating a reproducible data is even more challenging for me. But right, this question is really messy. I'll try to fix the question. Thanks for reminding
here iris stands in for df, as I dont have df to play with. but everyone who uses r can acces iris:
while you wouldnt expect to be able to do iris[[4]][[1:5]] you could do iris[[4]][1:5]
this gets the first 5 columnwise entries in the 4th column of iris.
I feel like it's not very accurate to use iris as an example because my dataframe structure is very different. Its the output of rtweet::search_tweets() function, so my df have a lot of column that contains lists.
The 7th column contains list which data looked like this