Republican and Democrat top Trigrams that they Tweet

The following charts shows the top trigrams (phrases) used in tweets by leaders of the republican and democrat parties in recent times. Based on the bar chart the top ngram that republicans have used is “save america act” witch they have used over 1300 times. The top democrat ngram is “war power resolution” witch has a much lower high of just over 460 times. The two scatterplots show you what concepts people in each party have been talking about over the the last month or so.

Posts Flagged by Selected Ngrams
Date Author Party Ngram Matched Post Text URL
2026-02-28 Ilhan (Rep. Ilhan Omar) Dem/Ind trumps illegal war statement from rep. ilhan omar on trumps illegal war on iran: “president trump is unilaterally dragging this nation into an illegal and unjustified war with iran without congressional authorization, without a clear objective, and without any imminent threat to the united states. this is a reckless abuse of power that puts both innocent civilians and american lives on the line for a conflict the american people do not want. “as someone who has survived the horrors of war, i know that bombs do not build peace or create stability. military strikes will not make us safer; they will inflame tensions and push the region further into chaos. when we abandon diplomacy, we choose destruction. “we know who will bear the cost of this decision: innocent civilians caught in the crossfire and our young service members sent into harms way. this is the devastating human toll of another regime-change war. already, children and families are paying with their lives. there is no moral or strategic justification for this bloodshed. “the american people are exhausted by endless wars built on false promises and paid for with american and foreign lives. congress must reassert its constitutional authority. we must vote immediately on the war powers resolution authored by reps. ro khanna and thomas massie. this unlawful operation must end immediately.” http://twitter.com/Ilhan/statuses/2027760101684134083
2026-02-28 RepCasar (Congressman Greg Casar) Dem/Ind trumps illegal war @repcasar congress must do everything in its power to stop trumps illegal war, including reconvening for an immediate vote on a war powers resolution. but we will also need millions of americans to speak out and demand an end. http://twitter.com/RepCasar/statuses/2027720867313074295
2026-03-01 RepHerbConaway (Congressman Herb Conaway) Dem/Ind trumps illegal war my heart breaks for the three american troops and their families who have died in trumps illegal war. this is the true cost of war. @housegop has done nothing to stop it — only encouraged it. congress must act now. http://twitter.com/RepHerbConaway/statuses/2028146889275674795
2026-03-01 RepJasmine (Congresswoman Jasmine Crockett) Dem/Ind trumps illegal war my heart breaks for the three service members who have lost their lives, and i am praying for those who were wounded. americas sons and daughters are being put in harms way because of donald trumps illegal war. congress must act to rein in donald trump before more lives are lost. http://twitter.com/RepJasmine/statuses/2028201358017671302
2026-03-01 RepLloydDoggett (Lloyd Doggett) Dem/Ind trumps illegal war joined kvue to discuss trumps illegal war on iran. learning nothing from the disastrous war in iraq, trump has dragged us into another costly war, which has already claimed the lives of american service members and many innocent civilians. this will only bring more chaos and bloodshed to an already dangerous region. congress must restrain trump by immediately adopting a bipartisan war powers resolution. http://twitter.com/RepLloydDoggett/statuses/2028245128293286329
2026-03-02 ChrisCoons (Senator Chris Coons) Dem/Ind trumps illegal war when it comes up for a vote this week, ill be a yes on @sentimkaines war power resolution to rein in trumps illegal war with iran that has already killed at least four american servicemembers and injured dozens more. http://twitter.com/ChrisCoons/statuses/2028512450920972364
2026-03-02 ChrisCoons (Senator Chris Coons) Dem/Ind trumps illegal war when it comes up for a vote this week, ill be a yes on @sentimkaines war powers resolution to rein in trumps illegal war with iran that has already killed at least four american servicemembers and injured dozens more. http://twitter.com/ChrisCoons/statuses/2028513084218732826
2026-03-03 RepJayapal (Rep. Pramila Jayapal) Dem/Ind trumps illegal war at least 6 service members have lost their lives because of trumps illegal war. congress must step up to reassert our constitutional power before more americans are killed. https://t.co/tmhpr0hzgo http://twitter.com/RepJayapal/statuses/2028870581769191903
2026-03-03 SenatorBaldwin (Sen. Tammy Baldwin) Dem/Ind trumps illegal war wisconsinites dont want to go to war and risk the lives of more of our sons and daughters. im with them. thats why i am voting to stop trumps illegal war. https://t.co/jg4x2cpvxh http://twitter.com/SenatorBaldwin/statuses/2028886697228804603
2026-03-04 SenJeffMerkley (Senator Jeff Merkley) Dem/Ind trumps illegal war rt @sentimkaine this is major: today, the senate is going to vote on my war powers resolution to block trumps illegal war against iran. if you dont want another forever war in the middle east, i urge you to make your voice heard ahead of this monumental vote. https://t.co/uy2qvabppa http://twitter.com/SenJeffMerkley/statuses/2029326606414549496
2026-03-05 DorisMatsui (Rep. Doris Matsui) Dem/Ind trumps illegal war i am on my way to the house floor to vote yes on the iran war powers resolution. donald trumps illegal war in iran has already cost american lives. congress must reassert its authority and stop this rogue administration from plunging us into another forever war in the middle east. http://twitter.com/DorisMatsui/statuses/2029667456722383053
2026-03-05 RepDeSaulnier (Mark DeSaulnier) Dem/Ind trumps illegal war today i voted yes on the war powers resolution to stop trumps illegal war with iran that the american people overwhelmingly oppose. no more forever regime-change wars! https://t.co/nix3yqcyna https://t.co/0seqji1kit http://twitter.com/RepDeSaulnier/statuses/2029703812479603109
2026-03-05 RepDianaDeGette (Rep. Diana DeGette) Dem/Ind trumps illegal war iran has been the largest state sponsor of terrorism globally and a significant destabilizing force in the middle east for decades. however, that does not give donald trump the authority to launch a war of choice. the constitution mandates that the president must receive congressional authorization before engaging in acts of war, except in very limited circumstances. to date, i have seen no evidence that there was an imminent threat against our country. that is why i voted for the war powers resolution today which would have stopped trumps illegal war. republicans killed the resolution, greenlighting the war and putting american servicemembers in harms way. meanwhile, this war is costing at least $1 billion every day. that is billions of dollars that could go towards affordable health care and housing. i refuse to support this war. http://twitter.com/RepDianaDeGette/statuses/2029695903087366147
2026-03-05 RepSaraJacobs (Congresswoman Sara Jacobs) Dem/Ind trumps illegal war im voting yes on todays war powers resolution to stop trumps illegal war in iran. https://t.co/xkvsfoh6vj http://twitter.com/RepSaraJacobs/statuses/2029623139034927125
2026-03-05 repcleaver (Rep. Emanuel Cleaver) Dem/Ind trumps illegal war the constitution is clear: congress has a role in decisions of war and peace. any escalation with iran must come with strategy, transparency, and congressional authorization. i will be voting yes on the war powers resolution today to rein in trumps illegal war. http://twitter.com/repcleaver/statuses/2029606593285747069
2026-03-06 ChrisMurphyCT (Chris Murphy 🟧) Dem/Ind trumps illegal war i want to walk you through the scenes from the middle east as violence explodes and escalates all over the region. trumps illegal war is destabilizing the whole region and likely creating a new civil war inside iran and a new broader shia insurgency. https://t.co/bgeypysrkm http://twitter.com/ChrisMurphyCT/statuses/2029934334715600976
2026-03-06 ChrisMurphyCT (Chris Murphy 🟧) Dem/Ind trumps illegal war i spoke to reporters in hartford this morning about how trumps illegal war in iran is going impact connecticut. higher prices, less security, new threats. https://t.co/moxvfo2rwa http://twitter.com/ChrisMurphyCT/statuses/2029972018251084146
2026-03-06 RepJohnLarson (Rep. John Larson) Dem/Ind trumps illegal war servicemembers have died. americans are stranded abroad. gas prices are on the rise. @senblumenthal, @chrismurphyct, and i are fighting to end president trumps illegal war with iran. we cannot let him entangle us in another costly, never-ending conflict in the middle east. https://t.co/xvxnpnjstp http://twitter.com/RepJohnLarson/statuses/2029995151297277962
2026-03-06 SenJeffMerkley (Senator Jeff Merkley) Dem/Ind trumps illegal war republicans failed the american people by refusing to uphold the constitution and stop trumps illegal war. https://t.co/riythkwdrj http://twitter.com/SenJeffMerkley/statuses/2030023344054014045
2026-03-07 SenatorHick (Senator John Hickenlooper) Dem/Ind trumps illegal war how does trumps illegal war of choice in iran bring prices down for you and your family? answer: it doesnt and wont. https://t.co/qn9b1isuqk http://twitter.com/SenatorHick/statuses/2030361448623251568
2026-03-08 RepGabeAmo (Congressman Gabe Amo) Dem/Ind trumps illegal war trumps illegal war of choice is not only costing us billions, but he had no plan in place for evacuating americans abroad — literally putting u.s. citizens in the line of fire. nothing about this failure is america first. http://twitter.com/RepGabeAmo/statuses/2030776138809623020
2026-03-08 RepLloydDoggett (Lloyd Doggett) Dem/Ind trumps illegal war on tomorrows spring forward sunday with daylight savings, i will be springing forward with @alivelshi on @msnownews about 9:20 cst to discuss trumps illegal war on iran and the toll it is taking. while millions of americans struggle to afford healthcare and groceries, trump is spending about $1b a day on killing in what could become an endless war. hes already requesting approval of supplemental appropriations. http://twitter.com/RepLloydDoggett/statuses/2030437199099945320
2026-03-08 SenatorHick (Senator John Hickenlooper) Dem/Ind trumps illegal war trumps illegal war of choice in iran is costing you at the pump. https://t.co/ksyj7x5eml http://twitter.com/SenatorHick/statuses/2030692952868081891
2026-03-09 CongressMin (Rep. Dave Min) Dem/Ind trumps illegal war trumps illegal war with iran is slamming us with even higher costs. higher oil and gas prices (+11% just last week) will not only hit us at the pump but also for everything else we buy. these attacks were reckless, they have no plan, and americans are paying the price. http://twitter.com/CongressMin/statuses/2031000609793392918
2026-03-09 RepNellie (Rep. Nellie Pou) Dem/Ind trumps illegal war suddenly, there isn’t much talk about gas prices from across the aisle. heres the truth: trumps illegal war conflict is costing you. gas prices have already seen a 17% increase since the start of the conflict, reaching their highest levels since 2024. https://t.co/qeymexiilq http://twitter.com/RepNellie/statuses/2031092420138438890
2026-03-09 SenJeffMerkley (Senator Jeff Merkley) Dem/Ind trumps illegal war rt @senatorhick trumps illegal war of choice in iran is costing you at the pump. https://t.co/ksyj7x5eml http://twitter.com/SenJeffMerkley/statuses/2031082383282196670
2026-03-09 SenMarkey (Ed Markey) Dem/Ind trumps illegal war trumps illegal war in iran is causing the largest oil shock in history. gas prices are spiking, and americans will be feeling the pain at the pump. meanwhile, trump is not ruling out sending ground troops into iran. americans do not want an expensive and endless war abroad. they want affordable health care for their family here at home. http://twitter.com/SenMarkey/statuses/2031055294181032375
2026-03-10 ChrisMurphyCT (Chris Murphy 🟧) Dem/Ind trumps illegal war trumps illegal war being called “catastrophic” for the global economy. http://twitter.com/ChrisMurphyCT/statuses/2031339529651749341
2026-03-10 RepJayapal (Rep. Pramila Jayapal) Dem/Ind trumps illegal war thanks to trumps illegal war in iran, our costs are going up. in king county, residents are now paying a whopping $4.87 a gallon for gas. we need to put an end to this now. https://t.co/nfvlqqyu7n https://t.co/ilwl5iktof http://twitter.com/RepJayapal/statuses/2031408769423335613
2026-03-10 RepJayapal (Rep. Pramila Jayapal) Dem/Ind trumps illegal war last night, i hosted my 129th town hall since coming to congress. hundreds of people came out to ask thoughtful questions on everything from trumps illegal war in iran to protecting our planet from climate change. if you werent able to make it, i hope to see you next time! https://t.co/fd3mlxr4jl http://twitter.com/RepJayapal/statuses/2031451087891210458
2026-03-10 SenMarkey (Ed Markey) Dem/Ind trumps illegal war trumps illegal war with iran is hitting americans hard—at the pump, at the grocery store, and on their utility bills. americans deserve to know what the cost of trumps reckless actions will be for themselves and their families as he continues this war. i’m calling for answers. https://t.co/hnfodxece3 http://twitter.com/SenMarkey/statuses/2031437023748235712
2026-03-11 KellyMorrisonMN (Kelly Morrison) Dem/Ind trumps illegal war rt @chrismurphyct trumps illegal war being called “catastrophic” for the global economy. https://t.co/d53rpii3b2 http://twitter.com/KellyMorrisonMN/statuses/2031769383706497092
2026-03-11 RepCasten (Rep. Sean Casten) Dem/Ind trumps illegal war as trumps illegal war in iran continues, violence in the west bank is escalating in plain sight. palestinians are being killed by armed settlers, and accountability remains rare. we cannot look away. the u.s. must use its leverage to demand that israel stop settler violence. https://t.co/ujgaube0pg http://twitter.com/RepCasten/statuses/2031841835875000827
2026-03-12 KellyMorrisonMN (Kelly Morrison) Dem/Ind trumps illegal war rt @ewarren american taxpayers spend nearly $1 billion every day funding trumps illegal war in iran. meanwhile, the republicans in congress claim we cant afford to fund education, child care, housing, or health care. http://twitter.com/KellyMorrisonMN/statuses/2032131421280579885
2026-03-12 RepDanGoldman (Rep. Dan Goldman) Dem/Ind trumps illegal war as innocent children are tragically killed due to trumps illegal war, as our troops suffer injuries and casualties, and as the effective closure of the strait of hormuz strangles supply chains around the world, @secwar is worried about his photo ops. pete, its not the photos making you look bad. its your incompetence, narcissism, and failed leadership. http://twitter.com/RepDanGoldman/statuses/2032118157322686740
2026-03-12 RepGaramendi (John Garamendi) Dem/Ind trumps illegal war in just a week, trumps illegal war with iran has cost americans $11.3 billion. now he and republicans want more, even as they slash healthcare & food aid. americans deserve to know where our tax dollars and our troops are being sent. https://t.co/mclzlq7kj5 http://twitter.com/RepGaramendi/statuses/2032200895073497161
2026-03-13 RepMcGovern (Rep. Jim McGovern) Dem/Ind trumps illegal war im sure the billions of dollars he pockets from his defense contracts with the pentagon have nothing at all to do with shilling for trumps illegal war. he sure seems to support regime change as long as hes making money off it. pathetic. http://twitter.com/RepMcGovern/statuses/2032563930325811706
2026-03-13 SenMarkey (Ed Markey) Dem/Ind trumps illegal war americans are in for a crude awakening at the pump. trumps illegal war in iran is costing people $1.8 billion more per week on gas. that money could fund home energy tax credits, electric vehicle rebates, and more. we must end the war and break our addiction to fossil fuels. https://t.co/qwd2ggmzzq http://twitter.com/SenMarkey/statuses/2032596826478576046
2026-03-14 RepYassAnsari (Congresswoman Yassamin Ansari) Dem/Ind trumps illegal war my constituents dont support trumps illegal war. arizona gas prices are already nearing $5/gallon. while this administration spends $2b a day on war, it just ripped away medicaid and snap from millions of americans. 13 u.s. service members have been killed, and thousands of marines are now heading to the middle east—appearing to prepare for boots on the ground. americans dont support this. meanwhile, on day one of this war, the u.s. bombed a childrens school. thats a war crime. more than 1,200 iranian civilians have already been killed, and dozens of hospitals, water plants, and oil refineries have been hit—damage that will have catastrophic health impacts for years to come—all after tens of thousands of iranians were massacred by their own brutal regime. this is just part of what i discussed in this interview with @msnownews more coming. http://twitter.com/RepYassAnsari/statuses/2032941037019123787
2026-03-14 RepYassAnsari (Congresswoman Yassamin Ansari) Dem/Ind trumps illegal war my constituents dont support trumps illegal war. arizona gas prices are already nearing $5/gallon. while this administration spends $2b a day on war, it just ripped away medicaid and snap from millions of americans. 13 u.s. service members have been killed, and thousands of marines are now heading to the middle east—appearing to prepare for boots on the ground. americans dont support this. meanwhile, on day one of this war, the u.s. bombed a childrens school. thats a war crime. more than 1,200 iranian civilians have already been killed, and dozens of hospitals, water plants, and oil refineries have been hit—damage that will have catastrophic health impacts for years to come—all after tens of thousands of iranians were massacred by their own brutal regime. this is just part of what i discussed in this interview with @msnownews. more coming. http://twitter.com/RepYassAnsari/statuses/2032943385774805118
2026-03-16 RepNellie (Rep. Nellie Pou) Dem/Ind trumps illegal war working families dont have a few weeks. gas prices are through the roof because of trumps illegal war—and americans are paying the price. https://t.co/tzfelcfw38 http://twitter.com/RepNellie/statuses/2033624967422566747
2026-03-17 RepLloydDoggett (Lloyd Doggett) Dem/Ind trumps illegal war another embassy under fire due to trumps reckless war of choice. in baghdad — where republicans previously poured nearly $1b into construction of a massive complex despite our determined opposition — american diplomats remain in the crosshairs. more american lives at risk and billions more now being wasted in trumps illegal war. http://twitter.com/RepLloydDoggett/statuses/2034008506093707695
2026-03-17 RepTroyCarter (Congressman Troy A. Carter) Dem/Ind trumps illegal war republicans estimate that trumps illegal war is costing taxpayers over $2 billion a day, yet theres been no progress to lower the cost of living for american families… the war in iran is driving prices even higher here at home. gas is now nearly 80 cents more per gallon than it was just last month, on top of energy and utility costs that were already squeezing working families. the american people shouldnt have to suffer for trumps reckless decisions. http://twitter.com/RepTroyCarter/statuses/2034003805369512053
2026-03-18 RepJayapal (Rep. Pramila Jayapal) Dem/Ind trumps illegal war regime change does not work. it never has, it never will. we must end trumps illegal war with iran and work to ensure safety for u.s. servicemembers and iranian civilians alike. https://t.co/4y745jfbjs http://twitter.com/RepJayapal/statuses/2034344307193208845
2026-03-18 SenMarkey (Ed Markey) Dem/Ind trumps illegal war you heard it here clearly. hard working americans are paying higher prices because of trumps illegal war in iran. now the administration says theyre fine with continuing this war because it “wont disrupt the economy” and that the american people are the last of their concerns. http://twitter.com/SenMarkey/statuses/2034084846192975882
2026-03-19 RepDianaDeGette (Rep. Diana DeGette) Dem/Ind trumps illegal war the pentagon is reportedly asking congress for an additional $200 billion for trumps illegal war with iran. that amount of money could fund the aca tax credits six times over. i refuse to vote for money for war when health care costs and every day essentials are skyrocketing here at home. http://twitter.com/RepDianaDeGette/statuses/2034644666428035247
2026-03-20 RepJayapal (Rep. Pramila Jayapal) Dem/Ind trumps illegal war another escalation of trumps illegal war: the administration is now sending thousands of additional marines to the middle east. nobody wants another forever war. congress must demand a stop to this before more lives are lost and trillions of taxpayer dollars are wasted. https://t.co/zkv9dvcwbo http://twitter.com/RepJayapal/statuses/2035017745889165373
2026-03-21 DorisMatsui (Rep. Doris Matsui) Dem/Ind trumps illegal war trumps illegal war in iran is already costing the american people too much—now hes asking for an additional $200 billion in funding. that alone would more than cover all of the snap cuts in his big ugly bill. instead of prioritizing americans here at home, he’s prioritized subverting congress and the rule of law at every turn. the american people and our troops should not be asked to shoulder the burden of this rogue administrations mistakes. http://twitter.com/DorisMatsui/statuses/2035391262589952272
2026-03-21 RepJayapal (Rep. Pramila Jayapal) Dem/Ind trumps illegal war the pentagon just requested an additional $200 billion to fund trumps illegal war in iran. thats your taxpayer dollars going to war instead of to education, food assistance, and health care. we need to end this war and focus on issues right here at home. https://t.co/8qbwwkgwkd http://twitter.com/RepJayapal/statuses/2035389517138461172
2026-03-21 RepJayapal (Rep. Pramila Jayapal) Dem/Ind trumps illegal war trumps illegal war in iran is making life more expensive. it needs to end. now. https://t.co/oqm0mc5pzk http://twitter.com/RepJayapal/statuses/2035417178443309109
2026-03-24 RepJayapal (Rep. Pramila Jayapal) Dem/Ind trumps illegal war thanks to trump and republicans big bad betrayal and their $186 billion cut to snap, more than 70,000 people will die. instead of pouring billions of dollars into trumps illegal war with iran, we should be helping our neighbors. https://t.co/xaudy9o8i1 http://twitter.com/RepJayapal/statuses/2036568515113517203
2026-03-24 SenJeffMerkley (Senator Jeff Merkley) Dem/Ind trumps illegal war trumps illegal war of choice with iran will cost us dearly. no more endless war. https://t.co/ixuejl9zc6 http://twitter.com/SenJeffMerkley/statuses/2036465875646021862
2026-03-24 SenJeffMerkley (Senator Jeff Merkley) Dem/Ind trumps illegal war we are spending more than a million dollars every minute on trumps illegal war with iran. this while health care and nutrition assistance have been decimated for millions of americans. this isnt america first—its families last. https://t.co/bhoxejs2rx http://twitter.com/SenJeffMerkley/statuses/2036560981476741373
2026-03-24 SenWarren (Elizabeth Warren) Dem/Ind trumps illegal war rt @janschakowsky as costs soar from trumps illegal war with iran, any attempt by big corporations to jack up prices is unacceptable. we must crack down on price gouging and protect consumers. im backing @senwarrens push to hold bad actors accountable. https://t.co/mnpdryrryg http://twitter.com/SenWarren/statuses/2036521722547953904
2026-03-24 SenatorHick (Senator John Hickenlooper) Dem/Ind trumps illegal war the constitution is clear: only congress can declare war. american families shouldnt foot the bill for trumps illegal war of choice in iran. he needs to end it – now. http://twitter.com/SenatorHick/statuses/2036593538771624127
2026-03-24 janschakowsky (Jan Schakowsky) Dem/Ind trumps illegal war as costs soar from trumps illegal war with iran, any attempt by big corporations to jack up prices is unacceptable. we must crack down on price gouging and protect consumers. im backing @senwarrens push to hold bad actors accountable. http://twitter.com/janschakowsky/statuses/2036502072883884047
2026-03-25 ChrisMurphyCT (Chris Murphy 🟧) Dem/Ind trumps illegal war rt @senmarkey i’m on my way to the senate floor to vote for @chrismurphyct s war powers resolution. we must end trumps illegal war with iran now. https://t.co/muuwmlyzrg http://twitter.com/ChrisMurphyCT/statuses/2036636849368662512
2026-03-25 SenMarkey (Ed Markey) Dem/Ind trumps illegal war i’m on my way to the senate floor to vote for @chrismurphyct s war powers resolution. we must end trumps illegal war with iran now. https://t.co/muuwmlyzrg http://twitter.com/SenMarkey/statuses/2036594143594426676
2026-03-26 SenatorHick (Senator John Hickenlooper) Dem/Ind trumps illegal war between surging gas prices and fertilizer costs, trumps illegal war in iran is costing americans each day that passes. https://t.co/fkwyprhro9 http://twitter.com/SenatorHick/statuses/2037226536034517067
2026-03-27 SenatorBaldwin (Sen. Tammy Baldwin) Dem/Ind trumps illegal war were four weeks into trumps illegal war of choice, and the american people still dont have answers. https://t.co/nhglra56az http://twitter.com/SenatorBaldwin/statuses/2037679955761369389
2026-03-27 maziehirono (Senator Mazie Hirono) Dem/Ind trumps illegal war from trumps illegal war to this never-ending shutdown, republicans are flying by the seat of their pants and the american people are paying the price. http://twitter.com/maziehirono/statuses/2037614920615760089
2026-03-30 RepDonBeyer (Rep. Don Beyer) Dem/Ind trumps illegal war after enacting the largest medicaid cuts in history and allowing health care tax credits to expire so they can pay for tax cuts for the rich, republicans now want to make further cuts to health care to pay for trumps illegal war of choice in iran. shameful. i’ll be voting no. http://twitter.com/RepDonBeyer/statuses/2038640988189552697
2026-03-30 RepGabeAmo (Congressman Gabe Amo) Dem/Ind trumps illegal war republicans want to cut more money from your health care to pay for trumps illegal war in iran. this war is already driving up prices at the gas pump, now they want it to drive up prices at the doctor’s office too. once again putting america and americans last. http://twitter.com/RepGabeAmo/statuses/2038634754140987472
2026-03-30 SenMarkey (Ed Markey) Dem/Ind trumps illegal war republicans want to pay for trumps illegal war on iran and for ice thugs to terrorize communities by cutting health care. again. its not complicated—americans dont want bombs—they want affordable health care and for their neighbors to be safe. https://t.co/rpqu4s936r http://twitter.com/SenMarkey/statuses/2038667771467219223
2026-03-30 SenatorHick (Senator John Hickenlooper) Dem/Ind trumps illegal war trumps illegal war in iran is costing you if you: → are looking to buy a house → buy groceries → need gas → are a farmer http://twitter.com/SenatorHick/statuses/2038758768037552262
2026-03-31 RepBeccaB (Rep. Becca Balint) Dem/Ind trumps illegal war we are now 32 days into trumps illegal war & we have paid over $25 billion for it. heres a look at what we could have done with those taxpayer dollars. trump needs to end this reckless war now & return focus to lowering costs and increasing opportunities here at home. https://t.co/leal80auig http://twitter.com/RepBeccaB/statuses/2039119904108867672
2026-03-31 RepDanGoldman (Rep. Dan Goldman) Dem/Ind trumps illegal war lets put it simply: republicans do not put americans first. trumps illegal war has already driven up gas prices, tanked the market, and put us troops and iranian civilians in harms way. now, the @gop wants to kick 300,000 americans off their healthcare to pay for more of this deadly conflict. congress must stand firm: no funds for this illegal war. http://twitter.com/RepDanGoldman/statuses/2038984779723395480
2026-03-31 RepDwightEvans (Congressman Dwight Evans) Dem/Ind trumps illegal war rt @waysmeanscmte youre paying about $60 more every month in more expensive gas alone. your wallet is another casualty of trumps illegal war. https://t.co/kgvtixngw7 http://twitter.com/RepDwightEvans/statuses/2038983927457517960
2026-03-31 SenatorHick (Senator John Hickenlooper) Dem/Ind trumps illegal war trumps illegal war in iran is draining your wallet at the gas pump. this is the “golden age” of america? http://twitter.com/SenatorHick/statuses/2039060942965670016
2026-04-02 RepGabeAmo (Congressman Gabe Amo) Dem/Ind trumps illegal war trumps message on iran is a month late and billions of dollars short. the american people are paying higher prices for gas, heating oil, and groceries because of trumps illegal war of choice. its time to end this. https://t.co/fdpdr02exe http://twitter.com/RepGabeAmo/statuses/2039749954604818634
2026-04-02 RepJayapal (Rep. Pramila Jayapal) Dem/Ind trumps illegal war trumps illegal war in iran isnt just driving up the cost of gas. soon enough, we will see it in the cost of our groceries. americans dont want this. trump must end this war immediately. https://t.co/2zptd83dem http://twitter.com/RepJayapal/statuses/2039787031375524295
2026-04-03 maziehirono (Senator Mazie Hirono) Dem/Ind trumps illegal war trumps illegal war in iran has already killed american servicemembers & innocent civilians. gas prices are sky-high and now, hawaii families will see their power bills rise from between $40–70/month. the costs of trumps reckless decision to start this war keep growing. https://t.co/zslypogcjy http://twitter.com/maziehirono/statuses/2040140076152152305
2026-04-05 RepLloydDoggett (Lloyd Doggett) Dem/Ind trumps illegal war another gift from trump to putin! not only has trumps illegal war with iran financially benefitted russias oil industry – adding more funding for the kremlins well-oiled war machine –it is also diverting critical defense systems from ukraine, like the patriot missiles. in the four years of defending itself against russia, ukraine has received 600 patriot missiles from the us, while in just one month of war with iran, the us has burned through 1800. http://twitter.com/RepLloydDoggett/statuses/2040912961724727622
2026-04-06 RepDianaDeGette (Rep. Diana DeGette) Dem/Ind trumps illegal war trumps illegal war in iran is costing the american people $11,500 every second. while every day costs are skyrocketing here at home, hes spending our tax dollars on war instead of child care, health care, and affordable housing. thats unacceptable, and i refuse to vote for a single dollar for his forever war. http://twitter.com/RepDianaDeGette/statuses/2041184517252116735
2026-04-07 RepJayapal (Rep. Pramila Jayapal) Dem/Ind trumps illegal war this threat is outrageous, dangerous, and unhinged. trumps illegal war in iran has already led to enormous death and destruction, including a school bombing that killed over 100 children. congress must immediately act to rein him in before more people die. https://t.co/w3l4gd2ufw http://twitter.com/RepJayapal/statuses/2041513833999552775
2026-04-07 RepJohnLarson (Rep. John Larson) Dem/Ind trumps illegal war congress must come back immediately to end trumps illegal war in iran. i join leader jeffries call for republicans to put duty over party and stop this madness. where are they? are none of them willing to stand up to trump? https://t.co/cvoq0wr9a4 http://twitter.com/RepJohnLarson/statuses/2041595990201827795
2026-04-08 RepDexterOR (Congresswoman Maxine Dexter) Dem/Ind trumps illegal war rt @senjeffmerkley americans dont want trumps illegal war in iran. hes putting our troops in harms way, costing us billions, and stretching families to the limit at the gas pump. http://twitter.com/RepDexterOR/statuses/2041957876562878652
2026-04-08 RepDwightEvans (Congressman Dwight Evans) Dem/Ind trumps illegal war speaker johnson needs to bring the house back to washington immediately. we cannot wait to see if this fragile two-week ceasefire holds — congress must act now to end trumps illegal war of choice. https://t.co/ig0ye7lsb4 http://twitter.com/RepDwightEvans/statuses/2041988201724964981
2026-04-08 RepJayapal (Rep. Pramila Jayapal) Dem/Ind trumps illegal war thousands of iranian and lebanese civilians have been killed, millions more displaced. u.s. servicemembers’ lives are being put in danger. and americans are paying the price at the gas pump. congress must vote on a war powers resolution to end trumps illegal war now. https://t.co/7uzpvmccqe http://twitter.com/RepJayapal/statuses/2041998623068561814
2026-04-08 RepJohnLarson (Rep. John Larson) Dem/Ind trumps illegal war after starting a war that has cost servicemembers their lives, trump threatened to end an entire civilization. we must reconvene immediately to vote on our war powers resolution and put an end to trumps illegal war. http://twitter.com/RepJohnLarson/statuses/2041931683176304853
2026-04-08 SenBlumenthal (Richard Blumenthal) Dem/Ind trumps illegal war trumps illegal war in iran is causing energy prices to soar, & ct residents are feeling the pain with higher utility bills. ct families are paying at least $217 more to heat their homes with oil—all because of a war americans don’t want. https://t.co/rdntjrrjln http://twitter.com/SenBlumenthal/statuses/2041989118549446835
2026-04-08 SenJeffMerkley (Senator Jeff Merkley) Dem/Ind trumps illegal war americans dont want trumps illegal war in iran. hes putting our troops in harms way, costing us billions, and stretching families to the limit at the gas pump. http://twitter.com/SenJeffMerkley/statuses/2041954250519872003
2026-04-10 RepAprilDelaney (Rep. April McClain Delaney) Dem/Ind trumps illegal war inflation is spiking because of trumps illegal war - and working families are paying the price at the grocery store, at the pump, and on their energy bills. trumps reckless economic and foreign policy got us here. my costs down, opportunity up affordability agenda puts working americans and families first and will take on corporate price gouging. http://twitter.com/RepAprilDelaney/statuses/2042671454693503235
2026-04-10 RepDexterOR (Congresswoman Maxine Dexter) Dem/Ind trumps illegal war rt @senjeffmerkley the two-week ceasefire is welcome news, but congress needs to reconvene and pass war powers resolutions now to rein in trumps illegal war—as ive been pushing for since the attacks began.https://t.co/m1okjzgktn http://twitter.com/RepDexterOR/statuses/2042633668032606242
2026-04-10 SenJeffMerkley (Senator Jeff Merkley) Dem/Ind trumps illegal war the two-week ceasefire is welcome news, but congress needs to reconvene and pass war powers resolutions now to rein in trumps illegal war—as ive been pushing for since the attacks began.https://t.co/m1okjzgktn http://twitter.com/SenJeffMerkley/statuses/2042622878013702524
2026-04-10 SenMarkey (Ed Markey) Dem/Ind trumps illegal war lets be clear: trumps illegal war on iran is a tax hike on american small businesses and families. enough. end the war, end trumps affordability crisis, and end the pain on main street. https://t.co/gfb2pxnn2x http://twitter.com/SenMarkey/statuses/2042644064818856094
2026-04-13 RepJohnLarson (Rep. John Larson) Dem/Ind trumps illegal war trumps illegal war in iran is raising prices here at home and putting our troops in danger across the globe. it needs to end now. https://t.co/6ungcd6ytj http://twitter.com/RepJohnLarson/statuses/2043765435783369170
2026-04-14 RepJayapal (Rep. Pramila Jayapal) Dem/Ind trumps illegal war congress needs to vote on a war powers resolution this week to stop trumps illegal war with iran. lives are at risk and costs are spiking. it needs to end now. https://t.co/r9p3tnkoge http://twitter.com/RepJayapal/statuses/2044174091310055852
2026-04-14 SenJeffMerkley (Senator Jeff Merkley) Dem/Ind trumps illegal war i just introduced a war powers resolution to rein in trumps illegal war with iran. democrats are sending a clear message: were going to keep voting on these resolutions until they pass. republicans need to fulfill their oath to the constitution and vote yes. http://twitter.com/SenJeffMerkley/statuses/2043844538494533692
2026-04-14 SenJeffMerkley (Senator Jeff Merkley) Dem/Ind trumps illegal war trumps illegal war with iran is costing us 1 to 2 billion dollars every single day. this while trump claims we cant afford to help americans with health care or child care. just despicable. http://twitter.com/SenJeffMerkley/statuses/2044078302181163104
2026-04-15 SenJeffMerkley (Senator Jeff Merkley) Dem/Ind trumps illegal war today, the senate votes on war powers resolutions to rein in trumps illegal war with iran. i will vote yes—as i have repeatedly. i encourage my republican colleagues to join me. we know this is wrong—its not a partisan issue. http://twitter.com/SenJeffMerkley/statuses/2044479841093787650
2026-04-15 SenJeffMerkley (Senator Jeff Merkley) Dem/Ind trumps illegal war the senate just voted on a war powers resolution to rein in trumps illegal war of choice with iran. republicans blocked it. its clear where their priorities lie—and its not with the american people. http://twitter.com/SenJeffMerkley/statuses/2044509261359706185
2026-04-15 SenWarren (Elizabeth Warren) Dem/Ind trumps illegal war i just voted to end donald trumps illegal war with iran. republicans in congress blocked it. https://t.co/b3a5wz9n5a http://twitter.com/SenWarren/statuses/2044479382773780758
2026-04-15 SenatorHick (Senator John Hickenlooper) Dem/Ind trumps illegal war @senatorhick 2/ people are getting crushed at the pump. americans have already paid $19 billion more for gas and diesel because of trumps illegal war with iran. and this is just the beginning. when fuel prices go up, everything gets more expensive. estimates show the average household will spend $776 more on gas this year. the average tax refund so far only went up about $346 you didnt get a tax cut. you got a bill. https://t.co/sxltnx3ifv http://twitter.com/SenatorHick/statuses/2044449864730149032
2026-04-15 SenatorLujan (Senator Ben Ray Luján) Dem/Ind trumps illegal war .@senatedems forced accountability and demanded action from republicans to tell trump: enough is enough. the american people do not support this war, and theyre paying the price for it every day. trumps illegal war has cost american lives and sent gas prices soaring. meanwhile, republicans were nowhere to be found – and they were unwilling to stand up to him. http://twitter.com/SenatorLujan/statuses/2044491526487540164

Code

# ==========================================================
# Step 1: Install and load required packages
# ==========================================================

if (!require("tidyverse")) install.packages("tidyverse")
if (!require("plotly")) install.packages("plotly")
if (!require("tidytext")) install.packages("tidytext")
if (!require("kableExtra")) install.packages("kableExtra")

library(tidyverse)
library(plotly)
library(tidytext)
library(kableExtra)

# ==========================================================
# Step 2: USER SETTING — choose ngram size
# ==========================================================

n_size <- 3   # 1 = unigrams, 2 = bigrams, 3 = trigrams, etc.

# ==========================================================
# Step 3: Load data
# ==========================================================

XData <- read_csv(
  "https://github.com/drkblake/Data/raw/refs/heads/main/IranWarCongressX.csv",
  col_types = cols(
    Date = col_date()
  )
)

# ==========================================================
# Step 4: Clean text
# ==========================================================

XData <- XData %>%
  mutate(
    Full.Text = str_to_lower(Full.Text),
    Full.Text = str_replace_all(Full.Text, "[’‘`]", "")
  )

# ==========================================================
# Step 5: Create ngrams
# ==========================================================

X_ngrams <- XData %>%
  unnest_tokens(
    ngram,
    Full.Text,
    token = "ngrams",
    n = n_size
  )

# ==========================================================
# Step 6: Separate ngrams into component words
# ==========================================================

data("stop_words")

ngram_cols <- paste0("w", 1:n_size)

ngrams_separated <- X_ngrams %>%
  separate(
    ngram,
    into = ngram_cols,
    sep = " ",
    remove = FALSE
  )

# ==========================================================
# Step 7: Remove stopwords
# ==========================================================

ngrams_clean <- ngrams_separated %>%
  filter(
    if_all(
      all_of(ngram_cols),
      ~ !.x %in% stop_words$word
    )
  )

# ==========================================================
# Step 8: Remove noise
# ==========================================================

x_noise <- c(
  "https", "tco", "t.co", "rt", "amp",
  "co", "com", "www",
  "twitter", "x",
  "im", "its"
)

ngrams_clean <- ngrams_clean %>%
  filter(
    if_all(
      all_of(ngram_cols),
      ~ !str_detect(.x, "^@") &
        !str_detect(.x, "^#") &
        !.x %in% x_noise &
        str_detect(.x, "[a-z]")
    )
  )

# ==========================================================
# Step 9: Recombine ngrams
# ==========================================================

X_ngrams_clean <- ngrams_clean %>%
  unite(
    ngram,
    all_of(ngram_cols),
    sep = " "
  )

# ==========================================================
# Step 10: Count ngrams by party
# ==========================================================

party_ngram_counts <- X_ngrams_clean %>%
  count(party, ngram, sort = TRUE)

top_ngrams_by_party <- party_ngram_counts %>%
  group_by(party) %>%
  slice_max(order_by = n, n = 20) %>%
  ungroup()

# ==========================================================
# Step 11: Plot top ngrams
# ==========================================================

rep_data <- top_ngrams_by_party %>%
  filter(party == "Rep") %>%
  arrange(desc(n))

dem_data <- top_ngrams_by_party %>%
  filter(party == "Dem/Ind") %>%
  arrange(desc(n))

rep_plot <- plot_ly(
  data = rep_data,
  x = ~n,
  y = ~ngram,
  type = "bar",
  orientation = "h",
  marker = list(color = "#c0392b")
) %>%
  layout(
    title = "Republicans: Top Ngrams",
    xaxis = list(
      title = list(text = NULL)   # suppresses "n"
    ),
    yaxis = list(
      title = list(text = NULL),  # suppresses "ngram"
      categoryorder = "array",
      categoryarray = rev(rep_data$ngram)
    ),
    margin = list(l = 180)
  )


rep_plot

dem_plot <- plot_ly(
  data = dem_data,
  x = ~n,
  y = ~ngram,
  type = "bar",
  orientation = "h",
  marker = list(color = "#2980b9")
) %>%
  layout(
    title = "Democrats / Independents: Top Ngrams",
    xaxis = list(
      title = list(text = NULL)   # suppresses "n"
    ),
    yaxis = list(
      title = list(text = NULL),  # suppresses "ngram"
      categoryorder = "array",
      categoryarray = rev(dem_data$ngram)
    ),
    margin = list(l = 180)
  )

dem_plot

# ==========================================================
# Step 12: USER INPUT — grouped ngram concepts
# ==========================================================

rep_ngram_groups <- list(
  "Save America Act" = c(
    "save america act",
    "criminal illegal aliens"
  ),
  "Epic Fury" = c(
    "operation epic fury"
  ),
  "DHS Funding" = c(
    "democrats dhs shutdown",
    "democrat dhs shutdown",
    "law enforcement officers")
)

dem_ngram_groups <- list(
  "War" = c(
    "war powers resolution",
    "trumps illegal war",
    "trumps reckless war"
  ),
  "Health Care" = c(
    "affordable care act",
    "health care costs",
    "aca tax credits",
    "affordable health care"
  ),
  "DHS" = c(
    "pay tsa agents",
    "fund tsa fema",
    "federal funding",
    "pay tsa workers"
  )
)
# ==========================================================
# Step 13: Build concept lookup table
# ==========================================================

rep_lookup <- enframe(rep_ngram_groups,
                      name = "concept",
                      value = "ngram") %>%
  unnest(ngram) %>%
  mutate(party = "Rep")

dem_lookup <- enframe(dem_ngram_groups,
                      name = "concept",
                      value = "ngram") %>%
  unnest(ngram) %>%
  mutate(party = "Dem/Ind")

concept_lookup <- bind_rows(rep_lookup, dem_lookup)

# ==========================================================
# Step 14: Count concept usage per day
# ==========================================================

daily_concept_counts <- X_ngrams_clean %>%
  inner_join(concept_lookup, by = c("party", "ngram")) %>%
  count(Date, party, concept, name = "daily_n")

# ==========================================================
# Step 15: Republican concept time series
# ==========================================================

rep_time_plot <- daily_concept_counts %>%
  filter(party == "Rep") %>%
  plot_ly(
    x = ~Date,
    y = ~daily_n,
    color = ~concept,
    type = "scatter",
    mode = "lines+markers"
  ) %>%
  layout(
    title = "Republican Ngram Concepts Over Time",
    xaxis = list(title = "Date"),
    yaxis = list(title = "Tweets per Day"),
    hovermode = "x unified"
  )

rep_time_plot

# ==========================================================
# Step 16: Democratic / Independent concept time series
# ==========================================================

dem_time_plot <- daily_concept_counts %>%
  filter(party == "Dem/Ind") %>%
  plot_ly(
    x = ~Date,
    y = ~daily_n,
    color = ~concept,
    type = "scatter",
    mode = "lines+markers"
  ) %>%
  layout(
    title = "Democratic / Independent Ngram Concepts Over Time",
    xaxis = list(title = "Date"),
    yaxis = list(title = "Tweets per Day"),
    hovermode = "x unified"
  )

dem_time_plot

# ==========================================================
# Step 17: USER INPUT — ngrams to flag for display
# NOTE: These MUST match the current n_size
# ==========================================================

ngrams_to_flag <- c(
  "trumps illegal war"
)

# ==========================================================
# Step 18: Identify posts containing flagged ngrams
# ==========================================================

flagged_posts <- X_ngrams %>%
  filter(ngram %in% ngrams_to_flag) %>%
  distinct(Url, ngram) %>%
  mutate(flagged = TRUE)

# ==========================================================
# Step 19: Merge flagged posts back to original post data
# ==========================================================

flagged_post_display <- XData %>%
  inner_join(flagged_posts, by = "Url") %>%
  select(
    Date,
    Full.Name,
    party,
    ngram,
    Full.Text,
    Url
  ) %>%
  arrange(Date, party, Full.Name)

# ==========================================================
# Step 20: Display flagged posts as a scrollable table
# ==========================================================

Table <- flagged_post_display %>%
  mutate(
    Date = as.character(Date),
    Full.Text = stringr::str_wrap(Full.Text, width = 80)
  ) %>%
  kable(
    format = "html",
    escape = TRUE,
    col.names = c(
      "Date",
      "Author",
      "Party",
      "Ngram Matched",
      "Post Text",
      "URL"
    ),
    caption = "Posts Flagged by Selected Ngrams"
  ) %>%
  kable_styling(
    bootstrap_options = c("striped", "hover", "condensed"),
    full_width = FALSE,
    font_size = 14
  ) %>%
  scroll_box(
    width = "100%",
    height = "450px"
  )

Table