0

I have recently started learning to use R. I am trying to analyze the tweets consisting of #squidgame. I have finished the authentification and collected the tweets. However, when I try to find the unique screen names tweeting about the topic, I keep getting NULL as the result. That is the same case with the location too.

unique(squid_game$screenName)
unique(squid_game$location)

Just to be sure I tried analysing #netflix and #parisfashionweek and got the same results.

Can someone please tell me what I am doing wrong or what step I am missing?

I would also appreciate it if someone could suggest resources for beginners to self learn R.

Thank you very much for taking the time to assist.

Gowachin
  • 1,251
  • 2
  • 9
  • 17
  • 1
    Hi, could you provide us the squid_game data.frame or list you use ? We just need few elements to understand the structure and values inside. This post has some tips for sharing this kind of information : https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example – Gowachin Oct 08 '21 at 09:29
  • Hi, here is a CSV file of the data frame and I see that the data frame shows screen names. https://docs.google.com/spreadsheets/d/184U1JUAQY3GUg2AQHyV4iySo6X9zbY4Y1g1oZZnmkPk/edit?usp=sharing – Renuka Kennedy Oct 08 '21 at 13:50
  • Resource to learn R: https://r4ds.had.co.nz/ – Phil Oct 08 '21 at 14:51
  • Thank you for the resource. – Renuka Kennedy Oct 08 '21 at 15:06
  • Thanks for the dataset, but how do you import it into R ? I bet the column names are not assigned and thus `data.frame$colname` won't work. Also there is no `location` column in your dataset, do you create one ? – Gowachin Oct 11 '21 at 07:17
  • I extracted the tweets and exported the data frame to CSV format so that I could share the list I was using. – Renuka Kennedy Oct 13 '21 at 14:53

0 Answers0