{"id":15657793,"url":"https://github.com/lit26/trump_tweet_analysis","last_synced_at":"2025-04-12T05:21:02.093Z","repository":{"id":115223551,"uuid":"311277163","full_name":"lit26/Trump_Tweet_Analysis","owner":"lit26","description":"Analysis of Trump's original tweets.","archived":false,"fork":false,"pushed_at":"2021-03-03T23:47:28.000Z","size":9295,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-26T00:43:59.702Z","etag":null,"topics":["data-analysis","lda-model","topic-modeling"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lit26.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-09T08:52:00.000Z","updated_at":"2025-01-02T07:48:57.000Z","dependencies_parsed_at":"2023-04-12T13:46:41.212Z","dependency_job_id":null,"html_url":"https://github.com/lit26/Trump_Tweet_Analysis","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lit26%2FTrump_Tweet_Analysis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lit26%2FTrump_Tweet_Analysis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lit26%2FTrump_Tweet_Analysis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lit26%2FTrump_Tweet_Analysis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lit26","download_url":"https://codeload.github.com/lit26/Trump_Tweet_Analysis/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248520155,"owners_count":21117888,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-analysis","lda-model","topic-modeling"],"created_at":"2024-10-03T13:09:46.674Z","updated_at":"2025-04-12T05:21:02.040Z","avatar_url":"https://github.com/lit26.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Trump_Tweet_Analysis\n\nAnalysis of Trump's original twitter posts.\n\n## Data Source\nTrump Twitter Archive: https://www.thetrumparchive.com/\n\nHere I am using the tweets from 2016-01-01 to 2020-11-07. There are total 28725 original twitter posts.\n\n## Data Analysis\n\n### Tweet Frequency\n\n![tweet_frequency](assets/tweet_frequency.png)\n\nThere are more posts during 2019 and 2020.\n\n### Top Words\n\nTop single words\n\n![word_cloud](assets/word_cloud.png)\n![top_words](assets/top_words.png)\n\nTop bigram words\n\n![top_biwords](assets/top_biwords.png)\n\nTop trigram words\n\n![top_triwords](assets/top_triwords.png)\n\n### Word Complexity\n\n![word_complexity](assets/word_complexity.png)\n\n## Topic Modeling\n\nThe dataset is cluster into 9 topics\n\n| | Topic |\n| ------------- | ------------- |\n| 1 | president, trump, election, poll, show, day, watch, news, washington, true, live, donald, political, 2016, presidential, office, called, force, greatest, interview |\n| 2 | year, country, job, china, back, economy, million, number, usa, trade, world, money, good, record, dollar, billion, coming, including, business, tariff |\n| 3 | great, military, total, love, strong, crime, support, endorsement, job, governor, state, honor, congratulation, complete, senator, woman, incredible, amendment, vet, fight |\n| 4 | time, people, american, thing, administration, family, long, york, general, obama, week, friend, coronavirus, remember, terrible, thought, hope, action, open, month |\n| 5 | democrat, republican, biden, joe, dems, history, party, senate, impeachment, call, pelosi, schiff, nancy, wrong, radical_left, crazy, run, sleepy, left, read |\n| 6 | people, american, border, country, work, wall, bill, stop, order, end, law, government, mexico, give, back, city, act, important, problem, congress |\n| 7 | great, america, big, vote, make, win, tonight, twitter, maga, day, court, florida, john, join, carolina, rally, trump2016, pennsylvania, tomorrow, crowd |\n| 8 | fake_news, medium, hillary, bad, clinton, russia, campaign, story, crooked, fbi, report, hunt, witch, totally, mueller, collusion, case, corrupt, fake, wow |\n| 9 | state, today, house, united, deal, good, made, north, white, meeting, leader, happy, pm, talk, enjoy, morning, korea, continue, iran, statemen |\n\n### Topic Distribution\n\n![topic_distribution](assets/topic_distribution.png)\n\n### Topic Word Cloud\n![topic1](assets/topic1.png)\n![topic2](assets/topic2.png)\n![topic3](assets/topic3.png)\n![topic4](assets/topic4.png)\n![topic5](assets/topic5.png)\n![topic6](assets/topic6.png)\n![topic7](assets/topic7.png)\n![topic8](assets/topic8.png)\n![topic9](assets/topic9.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flit26%2Ftrump_tweet_analysis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flit26%2Ftrump_tweet_analysis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flit26%2Ftrump_tweet_analysis/lists"}