Where the haters at? Part 2 of a Twitter study on Donald Trump

It’s June, 2016 and Donald Trump is set to face off against Hillary Clinton in the upcoming presidential election. A few months ago, when he was still competing for the Republican presidential nominee position, I collected a large amount of anti-Trump twitter data.

In Part 1 of the study I used this data to identify the location of Trump haters who tweeted the hashtag #MakeDonaldDrumpfAgain in the month of March. In that blog post we looked at the number of tweets per state (and per capita) to see where the haters were. Today we’ll follow up with further analysis of the same data, including a closer look at retweet trends and tweet content.

This study was inspired by a social media outburst set off by HBO’s “Last Week Tonight” video segment about Trump, where host John Oliver asks the audience to broadcast the hashtag MakeDonaldDrumpfAgain – see the relevant clip here. In the video segment he plays on the fact that Trump’s family name was changed from Drumpf a few generations ago.

In the 32 days following its release (the length of this study) the video collected 23.4 million views on Youbtube and I found ~550,000 tweets with the viral hashtag. About half of them were retweets, meaning that the post was not original content.

#MakeDonaldDrumpfAgain study

The Python 3 script I used can be found here and a tutorial on using the script and installing dependencies can be found here.


In this part I’ll focus on answering the questions:

  • How did the social media ecosystem of Twitter react to this viral political topic?
  • What is the content of anti-Trump tweets?

For all of the figures below I used Python 3 and the complete code can be found in my ipython notebook.

Lonely Tweets

It’s common for twitter posts to be “retweeted” by users who want to broadcast the tweet to their followers. Popular twitter accounts can see up to thousands of retweets for each post. Mine, on the other hand, usually get none – we’ll call these lonely tweets. Below we look at the March 2016 #MakeDonaldDrumpfAgain tweets that fit under this category.


The main plot histogram is similar to the one we saw in Part 1 for all tweets. What’s more insightful is the inset plot showing the ratio of lonely tweets to all tweets. We see that the likelihood of getting a post retweeted decreased as more time passed since the video was initially posted.

Retweet frequency

I wanted to look closer at the relation between original tweets and their ‘children’ retweets. In particular: how much time passed between posting the original and somebody retweeting it. Intuition and experience tells me that it happens sooner rather than later. The results, shown below, are consistent with this expectation.


The inset shows the same data as the main plot but on a logarithmic scale, where we see the probability of getting a post retweeted drops off exponentially with time.

Most common hashtags

Other than #MakeDonaldDrumpfAgain, which was contained in all tweets, the 10 most popular hashtags are seen below.


Many of these could lead to misinterpretation as positive tweet sentiment in other studies e.g., #Trump2016, #MakeAmericaGreatAgain. Others, not so much e.g., #NeverTrump, #DumpTrump. Underdog democrat senator Bernie Sanders is referenced with #FeelTheBern, suggesting that Trump haters on twitter are more supportive of Bernie than Hillary. At this point its almost a certainty that she will win out over Bernie as the democratic presidential nominee.

Most common users tweeted @

Here are the top 10 users included in tweets:


A large group of people directed their dislike towards Trump directly via his twitter account by including @realDonaldTrump in their post. Imagine getting 20,000 “dislike” notifications in just one month! On the other hand, Donald obviously doesn’t have time to monitor his twitter account personally … but I bet he noticed more than just a few of these posts.

Word counts

How many God-loving Americans put the hate on Trump? Where is the love? How much profanity? All are answered below.


Okay so this doesn’t really tell us much. Most of the love word counts came from posts something akin to “I love John Oliver’s video..”.

The most interesting pie slice, in my opinion, is that for profanity. I would be hard-pressed to drop an F-bomb or other swear word in a twitter post, but apparently there are plenty of people who don’t mind this sort of thing. I was even tentative to include explicit profanity on my blog, but I will in the name of science! Here are the most popular curse words, presumably directed towards Trump:


Thanks for reading! All the figures can be found in high resolution in their github repository along with all the code used to create them. If you would like to access my data, I may be able to share the .JSON tweet files with you – although they are quite large.

If you would like to discuss any of the plots or have any questions or corrections, please write a comment. You are also welcome to email me at agalea91@gmail.com or tweet me @agalea91

One thought on “Where the haters at? Part 2 of a Twitter study on Donald Trump

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s