Skip to content

This repository is meant to be a research project on protests (analyzes the Women's March and the Indian farmers' protests) and their reception by the public.

Notifications You must be signed in to change notification settings

maya-papaya/Analyzing-Protests-Through-Tweets

Repository files navigation

Analyzing Protests Through Tweets

In our modern society, protests are a way to collectively unite our voices to create change. However, some protests can negatively impact communities (looting, riots) or just be a nuisance (blocking traffic). Other times, people focus on the protesters' actions, rather than the message they're trying to spread (for example, the climate activists who threw soup at famous paintings).

Still, experts say that confrontational protests are an effective way to bring attention to a cause and portray less-bold protests in a better light. While this form of protest, called 'civil disobedience,' often is ineffective at garnering support for a movement, it has been a large part of effective social movements. Unfortunately for protestors, they have to choose between peaceful protests (usually ignored by the public) or civil disobedience (gaining the attention of the public and broadcasted by the media). The whole point of these confrontational protests is to make the public uncomfortable and force them into decisions. Social disruption has been a powerful tactic for very long: suffragettes once slashed paintings and went on hunger strikes to fight for their rights; Gandhi and his followers collected salt, defying the British East India Company's Salt Act. Nowadays, civil disobedience is a tactic that has become increasingly popular among younger activists. A spokesperson from Just Stop Oil said, “We’re going to be noisy. We’re going to be disruptive. We’re going to be unignorable. We’re going to be a pain in the ass until you listen to us.”

However, the reality is that what constitutes an effective protest is a highly disputed topic. This is why I wanted to find out how we can effectively share our voices through protests and gain support without disrupting the cause. This project is meant to explore public sentiment toward protests by analyzing tweets and what events can cause the public's attitude toward the movement to change.

I looked at two protests: the farmers' protest in India and the Women's March movement. Here's a little background on each:

The Indian Farmers' Protest

The Indian farmers' protest lasted between 2020 and 2021. It was in response to laws passed by Prime Minister Narendra Modi which would minimize government involvement and instead encourage private investors. "More than 60 percent of India’s 1.3 billion people still depend primarily on agriculture for their livelihood, though the sector accounts for only about 15 percent of the country’s economic output," writes the New York Times, "For years, debts and bankruptcies have been driving farmers to high rates of suicide." Finally, the laws were repealed.

Women's March

The Women's March movement began in 2017, the day after the inauguration of former President Donald Trump, due to his misogynistic rhetoric. It was recorded as the largest protest in U.S. history. Eventually, their mission adapted to include many issues - as the organization once said, "women's rights are human rights." Now, they have advocated on topics including "women's rights, immigration reform, healthcare reform, disability justice, reproductive rights, the environment, LGBTQ rights, racial equality, freedom of religion, workers' rights and tolerance," according to Wikipedia. To this day, they still arrange annual protests.


I divided my process into three parts: finding datasets, fine-tuning my model, and finally, conducting my analysis.

Finding Datasets

I used a HuggingFace dataset to train my model in sentiment analysis.

For the analysis, I chose two datasets from Kaggle (Indian farmers' protest & #WomensMarch movement).

Fine-tuning the Model

I used finetuned my model to be a sentiment analyzer.

Conducting My Analysis

I had three functions:

  • Public Sentiment: determines the majority sentiment towards the movement

  • Segmenting Dataset by Date (parameters: start_date, end_date): segments a dataset within a specified time period.

  • Keyword Extractor: finds all the most popular keywords within a dataset of tweets. For this function, I used a KeyBERT model to extract keywords.

  • Hashtag Analyzer: finds all the most popular hashtags within a dataset of tweets.

  • Wordcloud Generator: generates a wordcloud based on a dataset of text.

Here are the results and conclusions I drew from my analysis:


Results

The Indian Farmers' Protest

The overall sentiment on Twitter towards the Indian farmers' protest is as shown:

Public Sentiment:

Positive Tweets: 193,742
Neutral Tweets: 504,129
Negative Tweets: 386,581

Total Tweets: 1,084,452

Indian Farmers' Protest Chart 1

The majority (about 40.7%) is unconcerned or neutral towards the Indian farmers' protests. About 34.9% are negatively geared toward it. The minority of tweets are supportive of the movement.

Keywords:
1. ('farmersprotest', 469192)
2. ('farmers', 84296)
3. ('farmers farmersprotest', 32333)
4. ('support farmers', 29321)
5. ('farmers protest', 20979)
6. ('protest', 20465)
7. ('bjp', 19193)
8. ('support farmersprotest', 17318)
9. ('farm laws', 15796)
10. ('indian farmers', 12893)

Two keywords, 'support farmers' and 'support farmersprotest,' indicate that the movement was greatly supported on social media. The high percentage of negative tweets was not necessarily directed toward the farmers -- those tweets may have been directed toward the government (Modi's Bharatiya Janata Party or B.J.P.) and the farm laws.

Hashtags:
1. farmersprotest
2. 5novbharatband
3. opensource
4. farmbills
5. agriculturebill
6. saveourstandards
7. brexit
8. antifarmeracts
9. farmlaws
10. apmc
Wordcloud:

Indian Farmers' Protest Wordcloud Positive

Some words that stand out include 'support farmers,' 'human right,' 'support,' and 'shame.' Generally, it seems that the movement was greatly supported. Many of the negative tweets were likely directed toward the government.


For my second function, I wanted to find four specific categories of instances: an example of civil disobedience (nonviolently disruptive and illegal), minor violence (minor and without casualties), a violent riot (violent with many casualties and damage), and a peaceful protest. I would then compare all these instances and see how public reactions changed for each one.

For civil disobedience, I decided to look at a specific instance where, on November 29th, "the protesters announced that they would block five further points of entry into Delhi," according to Wikipedia. Despite overwhelming support for India's farmers, I was curious to see whether people would view this as a nuisance or support it.

Public Sentiment between 2020-11-29 00:00:00+00:00 and 2021-03-22 00:00:00+00:00: 

Positive Tweets: 120411
Neutral Tweets: 275868
Negative Tweets: 219677

Total Tweets: 615956

Indian Farmers' Protest Chart 2

The percentage of negative tweets increases by only 0.8%, despite the fact that it may have greatly inconvenienced the general public. While the number of positive tweets decreases significantly, that change does not signify that the farmers' protests were disapproved of. There is almost no change between the total public sentiment and this instance.

Keywords:
1. ('farmersprotest', 208641)
2. ('farmers', 46784)
3. ('farmersprotest twitter', 39073)
4. ('rihanna', 14242)
5. ('farmers farmersprotest', 12662)
6. ('protest', 12199)
7. ('farmers protest', 10557)
8. ('bjp', 10500)
9. ('suppo farmers', 10389)
10. ('suppo farmersprotest', 8273)

No one mentioned how the entrances to Delhi were blocked. In fact, many people demonstrated their support for the farmers, with the phrase, ‘support farmers’ and 'support farmersprotest' coming in ninth and tenth place respectively.

Rihanna is also mentioned frequently, likely because she had posted a tweet supporting the movement. Her tweet went viral, but there was much backlash from the Indian government and some pro-government public figures (one actress even called her a 'porn star') and criticism for involving herself in the protests.

Positive Keywords: 
1. ('farmersprotest', 53768)
2. ('farmersprotest twitter', 14727)
3. ('farmers', 8048)
4. ('rihanna', 6687)
5. ('suppo farmersprotest', 3518)
6. ('farmers farmersprotest', 3252)
7. ('gretathunberg', 3174)
8. ('suppo farmers', 2402)
9. ('suppoing farmersprotest', 2010)
10. ('thank farmersprotest', 1910)

Again, in the positive keywords, the support for the farmers is overwhelming. Rihanna is mentioned frequently once again.

Greta Thunberg, who had posted a toolkit of resources to effectively protest for the farmers, was also mentioned frequently. According to The Times of India, she was accused of being involved in a plot to defame India.

Neutral Keywords: 
1. ('farmersprotest', 105683)
2. ('farmers', 21249)
3. ('farmersprotest twitter', 16917)
4. ('farmers farmersprotest', 6986)
5. ('suppo farmers', 6319)
6. ('farmers protest', 5495)
7. ('rihanna', 5147)
8. ('protest', 4833)
9. ('indian farmers', 3825)
10. ('suppo farmersprotest', 3824)

The neutral keywords also suggest that the movement was greatly supported. Rihanna’s support seems to have made an impact on the public.

Negative Keywords: 
1. ('farmersprotest', 56992)
2. ('farmers', 14418)
3. ('protest', 5995)
4. ('bjp', 5619)
5. ('farmers protest', 4321)
6. ('protesting', 3149)
7. ('farmers protesting', 3024)
8. ('farmers farmersprotest', 2867)
9. ('indianfarmershumanrights', 2795)
10. ('farmers india', 2338)

For the negative keywords, it is likely that the Twitter users were criticizing the government, especially considering the popularity of the phrase, ‘indianfarmershumanrights.’

Hashtags:
1. farmersprotest
2. farmersdillichalo
3. kisanandolan
4. isupportfarmars
5. standwithfarmerschallenge
6. istandwithfarmers
7. pm
8. farmersprotests
9. indianarmy
10. farmers
Wordcloud (Positive):

Indian Farmers' Protest Wordcloud Positive

In the wordcloud, there are many words that suggest support for the movement (‘support,' love,' solidarity,' Thank,' supporting farmer’). Rihanna is also mentioned again, as well as Greta Thunberg.

Wordcloud (Neutral):

Indian Farmers' Protest Wordcloud Neutral

The neutral wordcloud is more concerned with providing information and background on the movement, like describing the farm laws, referring to the government, mentioning Rihanna, etc. This output makes sense considering that this wordcloud covers tweets from the beginning of the movement when the public was learning what the movement was about.

Wordcloud (Negative):

Indian Farmers' Protest Wordcloud Negative

While most of the phrases relate to the farmers and the government, one word stood out to me -- ‘terrorist.’ After some research, I found that the protesting farmers had been treated as terrorists. So we now know for sure that there was some pushback against the movement.


As an example of minor violence, I thought that a certain instance where "a farmer's protest on 5 November turned violent and an MP's car window was smashed," according to Wikipedia, would be interesting to investigate.

Public Sentiment between 2021-11-05 00:00:00+00:00 and 2021-11-21 00:00:00+00:00: 

Positive Tweets: 5,667
Neutral Tweets: 10,145
Negative Tweets: 8,756

Total Tweets: 24,568

Indian Farmers' Protest Chart 3

This time, the percentage of negative tweets increases by 0.7%, while the percentage of positive tweets decreases by 1.2%. Since one smashed car window is more irrelevant to most people's lives and it's easier to distance one's self from that circumstance, it's possible that there wasn't as much of a negative reception.

However, after further research, I found that the MP, Ram Chander Jangra, had incited several protests against himself because he called the farmers 'jobless alcoholics and bad elements.' After this discovery, we can infer that Jangra's comments reduced the possibility of sympathy from Twitter users.

Keywords:
1. ('farmersprotest', 7274)
2. ('farmers', 2223)
3. ('farm laws', 1653)
4. ('farmlaws', 1597)
5. ('farmlawsrepealed', 1455)
6. ('farmersprotest twitter', 879)
7. ('farmlawsrepealed farmersprotest', 870)
8. ('farmlaws farmersprotest', 868)
9. ('farmersprotest farmlaws', 714)
10. ('farmersprotest farmlawsrepealed', 704)

There is no mention of any MP's car window being smashed. Likely, people did not care enough about Jangra's car and preferred to focus on the movement.

Positive Keywords: 
1. ('farmersprotest', 2303)
2. ('farmers', 577)
3. ('farmersprotest twitter', 360)
4. ('farmlawsrepealed', 323)
5. ('farmlaws', 297)
6. ('farmlawsrepealed farmersprotest', 222)
7. ('farm laws', 195)
8. ('farmlaws farmersprotest', 189)
9. ('farmersprotest farmlawsrepealed', 159)
10. ('farmers farmersprotest', 157)

The phrase, 'farmlawsrepealed,' comes in fourth place. More people were likely focused on the farm laws, which would be repealed only a few days later.

Neutral Keywords: 
1. ('farmersprotest', 3224)
2. ('farm laws', 855)
3. ('farmlaws', 852)
4. ('farmers', 709)
5. ('farmlawsrepealed', 692)
6. ('farmlaws farmersprotest', 451)
7. ('farmlawsrepealed farmersprotest', 390)
8. ('farmersprotest farmlaws', 369)
9. ('farmersprotest twitter', 356)
10. ('farmersprotest farmlawsrepealed', 298)

The popularity of variations on 'farmlawsrepealed' and 'farm laws' can be attributed to how the farm laws would be repealed a few days later.

Negative Keywords: 
1. ('farmersprotest', 1747)
2. ('farmers', 937)
3. ('farm laws', 603)
4. ('farmlaws', 448)
5. ('farmlawsrepealed', 440)
6. ('bjp', 394)
7. ('farmlawsrepealed farmersprotest', 258)
8. ('farmersprotest farmlawsrepealed', 247)
9. ('farmlaws farmersprotest', 228)
10. ('farmersprotest farmlaws', 192)

Again, there isn't much difference between negative keywords and the previously-discussed keywords. It seems, though, that this category of tweets is calling on Modi's Bharatiya Janata Party more frequently, no doubt to repeal the farm laws.

Hashtags:
1. 3rdgradeactor
2. farmersprotest
3. boycottmodi
4. humanrights
5. happydiwali2021
6. farmers
7. diwaliwithfarmers
8. bandichhordivas
9. nofarmernofood
10. g20_standwithfarmers
Wordcloud (Positive):

Indian Farmers' Protest Wordcloud Positive

In the positive wordcloud, there are words relating to victory ('victory,' 'congratulations,' 'repealed,' 'won') and supportive words ('unity,' 'love,' 'sacrifice,' 'live,' 'solidarity'). This can be attributed to how the protests finally succeeded in repealing the farm laws.

Wordcloud (Neutral):

Indian Farmers' Protest Wordcloud Neutral

The neutral wordcloud seems to have more words relating to the government and the farm laws ('narendramodi,' 'government' 'repealed,' 'farmlaw'), likely discussing how they had announced that they were going to repeal the farm laws.

Wordcloud (Negative):

Indian Farmers' Protest Wordcloud Negative

Some words that stand out include 'farmer,' 'narendramodi' (likely calling on Modi), 'government,' 'death'/'died' (possibly referring to the many deaths and suicides of farmers throughout the movement and in the past), 'shame,' and 'protest.' There still might be some resentment and anger against the government for its treatment of the farmers. However, some words, 'lost' and 'terrorist,' suggest there might be some supporters of the farm laws.


For a violent riot, I thought that the Republic Day violence could be an example. During that protest, "the violence and hoisting of a religious flag on the ramparts of the Red Fort made the Bharatiya Kisan Union (Bhanu) and All India Kisan Sangharsh Co-ordination Committee decide to quit the farmers' protest." I wondered if that specific protest (combined with how "several metro stations were closed and mobile internet was suspended by police") affected the sentiment towards the protest.

Public Sentiment between 2021-01-26 00:00:00+00:00 and 2021-02-01 00:00:00+00:00: 

Positive Tweets: 3868
Neutral Tweets: 15813
Negative Tweets: 19057

Total Tweets: 38738

Indian Farmers' Protest Chart 4

For this instance, the percentage of positive tweets dramatically decreases to 10%, while the percentage of negative tweets increases to almost 50%. These prominent changes may be because of the violence that occurred. Two major groups decided to leave the farmers' protest because of the violence and the Nishan Sahib, a Sikh religious flag. Likely, many people (including previous supporters of the movement) criticized the violence and the group of protesters who abandoned the original peaceful protest plan. Several protesters also resorted to vandalism. Over 300 police personnel and thousands of farmers were injured by the violence.

However, some of the negative tweets were likely directed towards the government, as well as their crackdown on the internet/social media.

Keywords:
1. ('farmersprotest', 11053)
2. ('farmers', 2080)
3. ('farmersprotest twitter', 1601)
4. ('protest', 1206)
5. ('farmers protest', 889)
6. ('delhi police', 798)
7. ('delhi', 738)
8. ('bjp', 674)
9. ('flag', 563)
10. ('sikhs', 549)

Some keywords that became more popular include 'delhi police,' 'sikhs,' and 'flag.' These results make sense, considering that each of these keywords are related to the events of the Republic Day violence.

Interestingly enough, more people seemed to care about the violence that erupted between the farmers and the police, yet completely ignored an MP's window being smashed.

Positive Keywords: 
1. ('farmersprotest', 1396)
2. ('farmersprotest twitter', 399)
3. ('republic day', 196)
4. ('farmers', 172)
5. ('historictractormarch farmersprotest', 97)
6. ('republic', 89)
7. ('peacefulprotestcontinues farmersprotest', 79)
8. ('farmersstandingfirm', 75)
9. ('indian republica', 67)
10. ('reclaim indian', 67)

Some popular keywords used positively include 'peacefulprotestcontinues' and 'farmersstandingfirm.' The likely explanation for their sudden usage may be to encourage more peaceful protests and attempt to reduce the backlash against the movement caused by the violence.

Neutral Keywords: 
1. ('farmersprotest', 5498)
2. ('farmersprotest twitter', 747)
3. ('farmers', 716)
4. ('farmers protest', 476)
5. ('protest', 395)
6. ('tractor rally', 348)
7. ('delhi', 293)
8. ('farmersprotest farmerprotestgazipurborder', 275)
9. ('farmerprotestgazipurborder', 275)
10. ('delhi police', 274)

Some neutral keywords include 'tractor rally,' 'delhi police,' and 'farmerprotestgazipurborder.' These tweets are likely from news outlets or reporters discussing the events that occurred during the Republic Day violence.

The Ghazipur border was a protest site for the farmers. A spokesperson of the Bharatiya Kisan Union was reported to have broken down at the site, which may explain why both were mentioned more frequently.

Negative Keywords: 
1. ('farmersprotest', 4159)
2. ('farmers', 1192)
3. ('protest', 765)
4. ('delhi police', 506)
5. ('bjp', 480)
6. ('farmersprotest twitter', 455)
7. ('farmers protest', 387)
8. ('delhi', 380)
9. ('flag', 352)
10. ('sikhs', 342)

The negative keywords topics do not differ much from the overall keywords. Sikhs and flag are frequently discussed, probably because of the anger at a religious flag being hoisted on top of the Red Fort during Republic Day. The word, 'protest,' is also mentioned frequently in the negative tweets, no doubt because of the violence and injuries that occurred.

Hashtags:
1. republicday
2. farmersprotest
3. farmlaws
4. newsmo
5. vertical
6. re
7. kisanektazindaabaad
8. 26jandelhitractorparade
9. 26jandelhichalo
10. farmersbill
Wordcloud (Positive):

Indian Farmers' Protest Wordcloud Positive

Some words that stand out include 'republic day,' 'support,' 'thank,' 'red fort,' 'peacefulprotestscontinue,' and 'solidarity.'

Wordcloud (Neutral):

Indian Farmers' Protest Wordcloud Neutral

Most of the words in the neutral wordcloud refer to the events of the day ('republic day,' 'violence,' 'delhi police,' 'sikh,' 'tractor rally').

Wordcloud (Negative):

Indian Farmers' Protest Wordcloud Negative

Some major words include 'violence,' 'twitter,' 'protest,' and 'delhi.'


As an example of a peaceful protest, I looked at an instance between November 26th and 28th, where the farmers held peaceful protests at Nirankari ground, according to an article by Indian Express.

Public Sentiment between 2020-11-26 00:00:00+00:00 and 2020-11-28 00:00:00+00:00:

Positive Tweets: 1219
Neutral Tweets: 6430
Negative Tweets: 8173

Total Tweets: 15822

Surprisingly, the public sentiment toward the peaceful protest is overwhelmingly negative. However, this protest was in the early days of the movement, so likely much criticism is directed toward the farm laws and government.

Keywords:
1. ('farmersprotest', 5076)
2. ('farmers', 2101)
3. ('farmersprotest farmersdillichalo', 717)
4. ('farmersprotest twitter', 614)
5. ('farmers farmersprotest', 591)
6. ('protest', 508)
7. ('haryana', 434)
8. ('farmers protest', 375)
9. ('delhi', 343)
10. ('bjp', 327)

The phrase, 'farmersdillichalo,' refers to the start of the Dilli Chalo campaign, where farmers protested at Delhi's borders.

The word, 'haryana,' refers to the region Haryana, where many farmers protested (other regions include Punjab).

Positive Keywords:
1. ('farmersprotest', 473)
2. ('farmers', 141)
3. ('farmersprotest twitter', 106)
4. ('farmersprotest farmersdillichalo', 80)
5. ('farmersdillichalo', 46)
6. ('farmers farmersprotest', 35)
7. ('farmersdillichalo twitter', 30)
8. ('farmersdillichalo farmersprotest', 29)
9. ('constitution day', 27)
10. ('farmer', 26)

It seems that many people were supportive of the plan to protest outside Delhi.

Neutral Keywords:
1. ('farmersprotest', 2484)
2. ('farmers', 779)
3. ('farmersprotest farmersdillichalo', 347)
4. ('farmers farmersprotest', 268)
5. ('farmersprotest twitter', 254)
6. ('haryana', 201)
7. ('delhi', 169)
8. ('protest', 159)
9. ('farmersdillichalo', 142)
10. ('farmersprotest farmersbill2020', 128)

The neutral keywords include 'farmersbill2020,' likely referring to the farm laws.

Negative Keywords:
1. ('farmersprotest', 2119)
2. ('farmers', 1181)
3. ('protest', 340)
4. ('farmersprotest farmersdillichalo', 290)
5. ('farmers farmersprotest', 288)
6. ('farmers protest', 257)
7. ('farmersprotest twitter', 254)
8. ('protesting', 246)
9. ('bjp', 239)
10. ('haryana', 220)

So far it seems that many people are referring to the Dilli Chalo campaign plan and the farmers. Modi's party, B.J.P., is also mentioned frequently.

Hashtags:
1. farmersprotest
2. modiagainstfarmers
3. antifarmeracts
4. delhi
5. india
6. farmbills2020
7. modi
8. indianarmy
9. aljazeeraenglish
10. bbcworld
Wordcloud (Positive):

Indian Farmers' Protest Wordcloud Positive

Some words that stand out are 'farmersbill2020,' 'farmersdillichalo,' 'narendramodi,' and 'solidarity.'

Wordcloud (Neutral):

Indian Farmers' Protest Wordcloud Neutral

In the neutral wordcloud, it seems that many people are again referring to 'delhi' (where the protesters would go the very next day), 'farmersbill2020,' and 'farmersdillichalo.'

Wordcloud (Negative):

Indian Farmers' Protest Wordcloud Negative

The negative wordcloud includes 'water cannon' and 'tear gas,' no doubt referring to the treatment of peacefully protesting farmers.


Women's March

For the first function, I found the following:

Public Sentiment between 2017-02-08 05:14:24 and 2017-02-07 04:09:25: 

Positive Tweets: 3747
Neutral Tweets: 7766
Negative Tweets: 3487

Total Tweets: 15000

Women's March Protest Chart 1

The overwhelming majority (about 76.8%) is either unconcerned or supportive of the Women's March movement. About 23.2% are negatively geared toward it (this sentiment forms the minority of the pie chart). This result is unsurprising considering that this dataset only covers tweets from the first Women's March. However, since the movement's leaders became wrapped up in several controversies, I wonder how that number would change now.

Keywords:
1. ('womensmarch', 7314)
2. ('future female', 1777)
3. ('clinton says', 1675)
4. ('female references', 1671)
5. ('references womensmarch', 1670)
6. ('devos', 1501)
7. ('education devos', 1489)
8. ('communities womensmarch', 1488)
9. ('womensmarch power', 1486)
10. ('demi lovato', 944)

Some of the most popularly used keywords include 'future female' and 'womensmarch power.' These results make sense, considering how supported the movement was.

The phrase, 'education devos,' refers to Betsy DeVos, who was nominated as Secretary of Education by the Trump admin. During her Senate confirmation hearing, she mentioned that guns were necessary in order to protect children from grizzly bears, causing many jokes to pop up around her and bears. Many people disapproved of her being nominated and questioned her competency. Teachers participated in the Women's March and targeted the Trump admin's choices relating to education.

Demi Lovato also spoke at the march to about 750,000 people, which explains her having being mentioned frequently.

Positive Keywords: 
1. ('womensmarch', 2032)
2. ('unstoppable womensmarch', 641)
3. ('cecilerichards movement', 640)
4. ('movement unstoppable', 640)
5. ('womensmarch agree', 638)
6. ('shoutout womensmarch', 384)
7. ('hillaryclinton shoutout', 382)
8. ('thank hillaryclinton', 381)
9. ('womensmarch thank', 380)
10. ('patriotsparade liberal', 342)

Some of the positive keywords include shoutouts and gratitude to public figures like Hillary Clinton (who ran against Trump in 2016) and Cecile Richards, an activist who spoke at the march. Most of the positive tweets seem to be related to encouraging and praising the movement as well as its members.

Neutral Keywords: 
1. ('womensmarch', 4553)
2. ('future female', 1752)
3. ('clinton says', 1675)
4. ('female references', 1671)
5. ('references womensmarch', 1670)
6. ('devos', 1488)
7. ('womensmarch power', 1486)
8. ('education devos', 1485)
9. ('communities womensmarch', 1485)
10. ('demi', 849)

The neutral keywords seem to be related to the empowerment of women ('future female,' 'womensmarch power').

Negative Keywords: 
1. ('womensmarch', 729)
2. ('mutilation', 451)
3. ('genital mutilation', 450)
4. ('threat genital', 442)
5. ('state womensmarch', 442)
6. ('amymek washington', 441)
7. ('womensmarch nofascistusa', 407)
8. ('trumpprotest', 407)
9. ('antifa trumpprotest', 406)
10. ('impl0rable', 406)

The most popular negative keywords seem to be 'genital mutilation,' 'threat genital,' 'amymek,' 'nofascistusa,' and 'trumpprotest.'

An explanation for the Amy Mek reference may be because of her support of Donald Trump. The New York Times quoted her, "Amy Mek, who has more than 85,000 Twitter followers, is one of the women Ms. Suhler has gotten to know through their shared support of Mr. Trump. 'My belief has been that women’s rights is about treating men and women equally,' Ms. Mek said. 'Trump swings at men and women equally hard, but somehow if a woman is a Trump target, he is a misogynist.'"

Hashtags:
1. letlizspeak
2. sallyyates
3. womensmarch
4. melissamccarthy
5. bansharia
6. hush
7. devos
8. theresistance
9. indivisible
10. nofascistusa
Wordcloud (Positive):

Women's March Wordcloud Positive

Some words that pop out include 'shoutout womensmarch' and 'unstoppable womensmarch.' Hillary Clinton and Cecile Richards seemed to be mentioned frequently. Demi Lovato and Miley Cyrus are also mentioned too, as well as Cyrus’s organization, the Happy Hippie Foundation.

Wordcloud (Neutral):

Women's March Wordcloud Neutral

'clinton says,' 'new video,' 'watch,' and 'references' all suggest that the majority of neutral tweets were dedicated to sharing information on the events happening during the march.

Wordcloud (Negative):

Women's March Wordcloud Negative

'Genital mutilation' seems to be the most prominent discussion. 'amymek,' 'islam sharia,' 'sharia honor,' and 'Tahani Mansour' (a woman who was killed by her father due to her dating a non-Muslim man and arriving home late) are all related to the conversation around Islam within the movement.

There are a lot of references to 'theresistance.'


Conclusion

The Indian Farmers' Protest

Twitter notably had to jump hurdles with the Indian government about suppressing the backlash against the farm laws. Accounts were suspended at first and hashtags were reduced. As Twitter struggled between free speech and the government's orders, I wonder if this affected the results somehow.

The public seemed to be divided equally between negative, neutral, and positive reactions. The majority is overall neutral. While this seems strange, we can reason that the neutral tweets were dedicated to reporting on the events of the protests. The rest of the tweets are more negatively positioned towards the movement, while the minority of tweets are positive. We know that there was pushback against the movement, as evidenced by one negative wordcloud. However, many of the negative tweets were likely also directed toward the government.

The blocking of Delhi's entrances and the MP's smashed window seemed to have almost no change compared to the total sentiment. During the Republic's Day violence, though, the number of negative tweets drastically went up to almost 50% of the total number of tweets. Again, though, these results may not reflect the true sentiment towards the movement: the Indian government tried to suppress Twitter and shut down the internet in order to prevent support for the farmers. However, because of the violence incited by some of the protesters, we can imagine that most of the negative tweets were directed toward them. The peaceful protests between Nov. 26th and Nov. 28th actually had the most negative reception -- however, this may have been caused by a negative reception to the treatment of the protesting farmers (who were bombarded with tear gas and water cannons) and the farm laws.

Women's March

The Women's March, during its first protest, seemed to be greatly supported. However, I think it would be an interesting project in the future to research how they are viewed today.

An explanation for the movement's widely-varying keywords may be because it was considered "more than an anti-Trump protest," as Vox writes. The movement touched on many different conversations and issues considered especially vulnerable under the Trump administration, "including women’s and reproductive rights, criminal justice, defense of the environment and the rights of immigrants, Muslims, LGBT people and the disabled." This explains why conversations around Shariah law and Islam were so prevalent throughout the march.

As a whole...

The majority sentiment of each dataset was neutral: this can attributed to the possibility that these tweets were reporting on the events of the protest. They were neither overtly supportive, nor critical of anyone; they were simply updates on how each movement was going. This hypothesis is supported by one of the neutral wordclouds, where phrases like 'video statement' and 'WATCH' were prevalent.

Being inconvenienced actually didn't seem to affect the Indian farmers' movement and the Women's March at all. However, with more research and exploration of other movements, the results may turn out differently.

On the other hand, violence or unnecessarily brutal actions did seem to negatively impact a movement, as evidenced by the results from the Indian farmers' protest. Research by a sociologist at Stanford has shown that violence from a popular movement will more negatively impact the movement compared to violence from the opposing side -- sometimes it will actually increase support for the opposing side.

But now, the question becomes: how long should it take for the authorities in our lives to make a change? How long should we protest quietly and peacefully with much detriment to many lives? How long will it take for people to pay attention and notice an important issue?

I think most protesters who are considered 'nonviolently disruptive' say no more. As one protester said, “It isn’t fun: I hate disrupting people’s lives, and it’s upsetting that it’s come to this. But it has come to this.”

Notes: This project is not verified or error-free. Please use results with caution. The Google Colab notebooks and HuggingFace/KeyBERT models used to create this research project are available for further analysis and inspection.

This project also does not express any political leanings; it is merely a datascience project conducted out of my personal interest.


References

  • Leow, Griffin. "Analysis of Tweets on the Hong Kong Protest Movement 2019 with Python." Towards Data Science, 18 Nov. 2019, towardsdatascience.com/analysis-of-tweets-on-the-hong-kong-protest-movement-2019-with-python-a331851f061. Accessed 8 Aug. 2023.

  • De Witte, Melissa. "How violent protest can backfire." Stanford News, 12 Oct. 2018, news.stanford.edu/2018/10/12/how-violent-protest-can-backfire/. Accessed 8 Aug. 2023.

  • Yoder, Kate. "Climate activists’ new, confrontational tactics aren’t popular. That’s kind of the point." Grist, 21 Dec. 2022, grist.org/protest/confrontational-climate-protests-civil-disobedience-soup-van-gogh/. Accessed 8 Aug. 2023.

  • Mir, Shoaib. Khan, Ahmer. "Farmers Have Become Martyrs in India." Foreign Policy, 28 Nov. 2021, foreignpolicy.com/2021/11/28/farmers-protests-india-martyrs/. Accessed 8 Aug. 2023.

  • "2020–2021 Indian farmers' protest." Wikipedia, en.wikipedia.org/wiki/2020–2021_Indian_farmers%27_protest. Accessed 8 Aug. 2023.

  • Vesoulis, Abby. "Women First Marched to Challenge Trump. Now They Are Challenging Each Other." Time, 19 Jan. 2019, time.com/5505787/womens-march-washington-controversy/. Accessed 8 Aug. 2023.

  • Frayer, Lauren. Bond, Shannon. "Twitter In Standoff With India's Government Over Free Speech And Local Law." NPR, 18 Feb. 2021, www.npr.org/2021/02/17/968641246/twitter-in-standoff-with-indias-government-over-free-speech-and-local-law. Accessed 8 Aug. 2023.

  • Roller, Emma. "The Women Who Like Donald Trump." The New York Times, 10 May, 2016, www.nytimes.com/2016/05/10/opinion/campaign-stops/the-women-who-like-donald-trump.html. Accessed 10 Aug. 2023.

  • Taylor, Adam. "Why is the world protesting so much? A new study claims to have some answers." The Washington Post, 4 Nov. 2021, www.washingtonpost.com/world/2021/11/04/protests-global-study/. Accessed 11 Aug. 2023.

  • Brown, Emma. "Teachers to march against Trump’s education agenda." The Washington Post, 21 Jul. 2017, www.washingtonpost.com/local/education/teachers-to-march-against-trumps-education-agenda/2017/07/21/18a54c20-6e24-11e7-9c15-177740635e83_story.html. Accessed 12 Aug. 2023.

  • Grebbell, Caroline. "15 Examples of Civil Disobedience (Which Have Made a Difference)." rebellion.global, 03 Nov. 2020, rebellion.global/blog/2020/11/03/civil-disobedience-examples/. Accessed 12 Aug. 2023.

  • Sharma, Deepali. "‘Farmers being treated as terrorists, attacked on Delhi borders’: Shiv Sena." Hindustan Times, 30 Nov. 2020, www.hindustantimes.com/india-news/shiv-sena-slams-bjp-calls-using-water-cannons-on-farmers-amid-cold-wave-cruel/story-swfrlF8AXq6S63uJ7HjAZP.html. Accessed 13 Aug. 2023.

  • "Greta Thunberg tweets, deletes and then updates farm protest 'toolkit'." The Times of India, 4 Feb. 2021, timesofindia.indiatimes.com/india/greta-tweets-deletes-farmprotest-toolkit-creates-uproar/articleshow/80679959.cms?from=mdr. Accessed 13 Aug. 2023.

  • Bozhinova, Katerina. Satre, Josh. Rajagopal, Shreyya. "An Unlikely Success: Demonstrations Against Farm Laws in India." ACLED, 17 Dec. 2021, acleddata.com/2021/12/17/an-unlikely-success-demonstrations-against-the-farm-laws-in-india/#:~:text=Despite%20high%2Dprofile%20incidents%20of,demonstrations%20have%20been%20largely%20peaceful.. Accessed 14 Aug. 2023.

  • Nazir, Saddat. "The Indian Farmer Protests: A Rare Concession." Harvard International Review, 12 Jul. 2022, hir.harvard.edu/farmer-protests/#:~:text=Although%20beginning%20with%20peaceful%20rallies,and%20Haryana%2C%20demanding%20better%20conditions.. Accessed 14 Aug. 2023.

About

This repository is meant to be a research project on protests (analyzes the Women's March and the Indian farmers' protests) and their reception by the public.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages