Tuesday, September 24, 2019

Trend Topic Analysis with R


Twitter is one of the most popular social media applications in recent years. With the R program, it is possible to analyze many data from Twitter. Two of these analyzes are sentiment and polarity analysis.

These analyzes were applied to one of the trend topics on Twitter. For this purpose, the first trend topics in the world were found with "getTrend ()" function. As a results of this research, the most popular trend topic is #gretathunberg.

Afterwards, tweets were cleaned and sentiment and polarity analysis were performed.
First, polarity analysis was performed. As a results of this analysis, the majority of tweets related to #gretathumberg are positive.


Figure 1: polarity analysis

Secondly, sentiment analysis was performed. According to this analysis, anticipation and trust are the most dominant feelings among tweets.





Figure 2: Sentiment analysis (second column is anticipation.)

Finally, the most popular devices, which are used to post on twitter, were analyzed. Twitter web app and twitter android are the most used software.


Figure 3: Most used software and devices

No comments:

Post a Comment