Facebook
TwitterAttribution 4.0 (CC BY 4.0)https://creativecommons.org/licenses/by/4.0/
License information was derived automatically
EPILOGUE:
https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F360751%2Fa5eefdb31428bd5ce99cdf76fa484a63%2Fmap.jpg?generation=1733007717460285&alt=media" alt="">
FINAL UPDATE: It's election night, and the results are coming in. The final update includes the latest poll data from 538, which is from two days ago. Thanks all for following the development of this dataset.
OCTOBER UPDATE: The past month has been typical of the final weeks before the election - rallies, interviews, and advertising. This update includes a transcript of the VP debate between Walz and Vance, and the latest poll summaries.
SEPTEMBER UPDATE: Trump and Harris had their first debate. This update includes the transcript and recent poll results. Also, there was a second attempt to kill former President Trump! No shots fired though on this one. You'll see aerial diagrams of both attempts in the dataset.
https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Ftse4.mm.bing.net%2Fth%3Fid%3DOIF.edyLiGntLZbwC9fBkg8TsQ%26pid%3DApi&f=1&ipt=a1096b37cf3eced7dff70d362a2c76f8876422f53c47856cadf09f9fa18b367e&ipo=images" alt="debate">
https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F360751%2F0ecedf88421c303e0112734a30de9e29%2Frouth.jpg?generation=1726701011377683&alt=media">
LATE AUGUST UPDATE: The Democratic Party replaced President Biden with his VP, Kamala Harris. It's now Trump v Harris along with one nominee from each of the smaller factions.
https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fmedia.cnn.com%2Fapi%2Fv1%2Fimages%2Fstellar%2Fprod%2F240122181719-trump-kamala-vpx-split-2.jpg%3Fc%3D16x9%26q%3Dw_850%2Cc_fill&f=1&nofb=1&ipt=984b6cf55cf55e1539003ca1c1beaa359625f6e5b08b511b3b018c9d2c959ae5&ipo=imagesg">
https://upload.wikimedia.org/wikipedia/commons/thumb/e/e7/Chase_Oliver%2C_Jill_Stein_%26_Randall_Terry_%2853866448015%29.jpg/1280px-Chase_Oliver%2C_Jill_Stein_%26_Randall_Terry_%2853866448015%29.jpg">
AUGUST UPDATE: This election season just gets crazier and crazier. You'll see new data related to the assassination attempt on former President Trump. There are transcripts of Secret Service hearings and an annotated image of the rally area.
https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F360751%2F75dd20a00c2ac6d81c6d6e1f83cbd941%2Fdonald-trump-rally-shooting-2024-113.webp?generation=1722800392288670&alt=media">
JULY UPDATE: Added the transcript of the debate between Trump and Biden.
MAY UPDATE: Added some new polls and also a meta-poll assessing the quality of select pollsters.
APRIL UPDATE : The dataset now contains approval ratings for sitting presidents, which includes Biden and Trump.
MARCH UPDATE: As of last week, the presumptive nominees are Joe Biden(D) and Donald Trump(R). They also ran against each other in 2020. Robert F Kennedy Jr is running as an independent.
Presidential elections occur quadrennially in years evenly divisible by 4, on the first Tuesday after November 1. Presidential candidates from the major political parties usually declare their intentions to run as early as the spring of the previous calendar year before the election. The two major parties each nominate one candidate through a process of primary elections and nominating conventions during the election year. (source: Wikipedia)
This dataset contains data on candidates, primary/caucus results, polls, and debate transcripts. Updates and additional data will be added as the landscape develops.
Note: Version 3 of this dataset contains previous coverage of the 2022 Congressional Mid-term Elections.
Facebook
TwitterThis data comes from the Associated Press - the AP has been tracking vote counts in US elections since 1848 and their data is widely considered to be accurate.
The variables in this dataset are:
- state: State to which the vote count corresponds
- state_abr: Two-letter abbreviation of state name
- trump_pct: Percentage of the vote won by Donald Trump
- biden_pct: Percentage of the vote won by Joe Biden
- trump_win: Binary variable denoting whether Donald Trump won the vote in a state
- biden_win: Binary variable denoting whether Joe Biden won the vote in a state
Facebook
Twitterhttps://creativecommons.org/publicdomain/zero/1.0/https://creativecommons.org/publicdomain/zero/1.0/
Please, If you enjoyed this dataset, don't forget to upvote it.
https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F3244747%2F5173f21bc8eaea8335539cc942338b4d%2Fheader_win.png?generation=1605608056355359&alt=media" alt="">
For this year, was the 59th quadrennial presidential election held on Tuesday, November 3, 2020. To win the election, the candidate needs 270 out of 538 electoral votes. A good sign, that show if a candidate is doing well, is if they win states that aren't expcted to go their way.
This dataset contains county-level data from 2020 US Election.
Facebook
Twitterhttps://creativecommons.org/publicdomain/zero/1.0/https://creativecommons.org/publicdomain/zero/1.0/
The County Presidential Election Returns 2000-2020 dataset describes the results of the various United States Presidential elections, broken out on a per county basis. It provides the details on the votes cast per candidate, the political party to whom the candidate belongs, and the mode by which the votes were cast. The data was collected by the MIT Election Data and Science Lab, and is housed on the Harvard Dataverse.
References: 1. https://electionlab.mit.edu/ 2. https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/VOQCHQ
Facebook
TwitterApache License, v2.0https://www.apache.org/licenses/LICENSE-2.0
License information was derived automatically
This dataset is collected from 1824 to 2020: 1. Year: Description: The year in which the U.S. election took place. Type: Numeric (Integer) Example: 1824, 1860, 1920, 2020
Candidate: Description: The name of the candidate participating in the election. Type: String (Candidate's name) Example: John Adams, Abraham Lincoln, Franklin D. Roosevelt, Joe Biden
Party: Description: The political party affiliation of the candidate. Type: String (Party name or abbreviation) Example: Democratic, Republican, Whig, Libertarian
Popular Vote: Description: The total number of votes that the candidate received in the popular vote. Type: Numeric (Integer) Example: 500,000, 5,000,000, 70,000,000
Result: Description: The outcome of the election for the specified candidate. Type: String (e.g., "Winner," "Runner-up," "Withdrew") Example: Winner, Runner-up, Withdrew, Conceded
Percentage: Description: The percentage of the total popular vote received by the candidate. Type: Numeric (Float) Example: 25.3%, 49.8%, 60.5%
This dataset appears to capture essential information about U.S. elections over time, including details about the candidates, their political party affiliations, the number of popular votes they received, the outcome of the election, and the percentage of the total popular vote they secured. This comprehensive dataset allows for the analysis of historical U.S. election trends and outcomes.
Facebook
Twitterhttps://creativecommons.org/publicdomain/zero/1.0/https://creativecommons.org/publicdomain/zero/1.0/
This dataset was created by Jason Yoon
Released under CC0: Public Domain
Facebook
TwitterAttribution 4.0 (CC BY 4.0)https://creativecommons.org/licenses/by/4.0/
License information was derived automatically
As you all know, America's Presidential election 2020 will going to happen in November. The result of which will going to be a big thing not just only for American citizens but other countries people too and this will ultimately effect the relations with other countries. So, I have scraped tweet replies of Twitter handle of both the final runners i.e., Donald Trump and Joe Biden. So, the idea is to predict result of this upcoming election and get some insights on how to make predictions with better accuracy.
This dataset is collected through scraping Twitter handles of Donald Trump and Joe Biden separately for a week using python script and retrieving replies on tweets done by both of them. The idea is to look for the sentiments of people towards their representative and how they are reacting to the tweets done by both the leaders. So that one can predict results in advance by analysing people sentiments using data science skills. Below I have attached two csv files, one is for Donald Trump and another is for Joe Biden. Both of the csv files are having two common columns:
1st column user contains user name who have replied to the tweets.
2nd column text contains text of replies on each tweet.
To get more insights on it and how to start with the project, you can refer to my article below. This was a small fun project to get insights thorugh this dataset where I am not training any model as such. I am simply analysing people's sentiment using NLP library TextBlob. So, you can refer to this article to get started with the dataset on how to clean it, analyze it and visualize it. Feel free to use some other algorithms to achieve greater accuracy. Predicting US Presidential Election Result Using Twitter Sentiment Analysis with Python
This dataset actually gives immense opportunities to revise your data science skills from fundamentals. - Data Cleaning as this dataset includes lots of noise which will be going to be a barrier in making good model. - Exploratory Data Analysis - Data Analysis - Data Visualization
Facebook
Twitterhttps://creativecommons.org/publicdomain/zero/1.0/https://creativecommons.org/publicdomain/zero/1.0/
This data file contains constituency (state-level) returns for elections to the U.S. presidency from 1976 to 2020.
For more information please refer : https://guides.lib.jjay.cuny.edu/c.php?g=992251&p=7179356
More - Find More Exciting🙀 Datasets Here - An Upvote👍 A Dayᕙ(`▿´)ᕗ , Keeps Aman Hurray Hurray..... ٩(˘◡˘)۶Haha
Facebook
Twitterhttps://www.usa.gov/government-works/https://www.usa.gov/government-works/
This dataset was created by Mohamad
Released under U.S. Government Works
Facebook
Twitterhttps://creativecommons.org/publicdomain/zero/1.0/https://creativecommons.org/publicdomain/zero/1.0/
The Elections Performance Index (EPI) 2020 dataset offers a comprehensive, state-level evaluation of how well U.S. states administered elections in 2020. Developed by the MIT Election Data and Science Lab, this dataset provides crucial indicators to assess the performance, accessibility, and integrity of electoral processes across states. It includes a range of metrics designed to track changes and trends in election administration over time, supporting transparency, policy improvement, and academic research. The dataset, provided in CSV format, allows for replication of findings based on the most up-to-date data as of 2022. Citation (APA format):
MIT Election Data and Science Lab. (2022). Elections Performance Index 2020 (Version 3.0) [Data set]. Harvard Dataverse. https://doi.org/10.7910/DVN/MRQWAE License:
Creative Commons CC0 1.0 Universal (Public Domain Dedication)
Facebook
Twitterhttps://creativecommons.org/publicdomain/zero/1.0/https://creativecommons.org/publicdomain/zero/1.0/
This data file contains constituency (state-level) returns for elections to the U.S. Senate from 1976 to 2020.
This Dataset is collected by: MIT Election Data and Science Lab (Massachusetts Institute of Technology) (MEDSL) http://electionlab.mit.edu
Facebook
TwitterThis dataset was created by AllenEdgarPoe
Facebook
Twitterhttps://creativecommons.org/publicdomain/zero/1.0/https://creativecommons.org/publicdomain/zero/1.0/
[READ THIS FIRST! DATASETS FOR Academic/Learning/Non-commercial purpose]
US Election 2020 is very interesting to look into as it is an election in the middle of a pandemic. Me and my teammate created a twitter crawler using Twitter API and Tweepy for my Artificial Intelligence coursework. We chose Donald Trump as a subject of interest as President Trump was known for his twitter interaction.
I decided to deploy my crawler on post-voting day to conduct a sentiment analysis.
Tweet text in this datasets is suitable for Sentiment Analysis usage.
This raw datasets is crawled using Tweepy library and Twitter API. 2500 tweets were gathered per 15 minutes. There are total of 247,500 row of entries and 13 columns, with the total of 3,217,500 cells of data. Data cleaning is needed to perform before doing any analysis.
Datasets date range: 4th November 2020 - 11th November 2020 Tweets with "Trump", "DonalTrump", "realDonalTrump" were capture.
(The User = user of the particular row) username: Twitter User handle accDesc: Description of the user on profile location: Location of the tweet following: Total number of account the user is following followers: Total number of followers of the user totaltweets: Total tweets created of the user usercreated: Date of the user registered his/her Twitter account tweetcreated: Date of the tweet created favouritecount: tweet <3 count (equivalent to like on Facebook) retweetcount: Total tweet's retweet (equivalent to share on Facebook) text: Text body of the tweet tweetsource: Device used to create this tweet hashtags: hashtag of the tweet in JSON format
Banner and thumbnail courtesy of > visuals < from unsplash.com
Much thanks to my teammate Jiacheng Loh and ChenZhen Li for the efforts.
Please do not use this datasets for any malicious attempts, any damage done is not under the responsible of me.
This datasets were gathered for the purpose of learning and not for commercial purposes.
Data were public in the public domain, therefore i assume these data is open for all.
Datasets are gathered with at least 15 minutes interval, therefore datecreated distribution is not equal and may not include all tweets created within the date range.
Facebook
Twitterhttps://creativecommons.org/publicdomain/zero/1.0/https://creativecommons.org/publicdomain/zero/1.0/
There's a story behind every dataset and here's your opportunity to share yours.
Polls Current polls files contain data since the most recent election. Historical files contain data prior to the most recent election.
Presidential Primary Polls: current, historical Presidential General Election Polls: current, historical Senate Polls: current, historical House Polls: current, historical Governor Polls: current, historical Presidential Approval Polls*: current, historical Generic Ballot Polls: current, historical *Historical approval polls prior to the Trump presidency are not available, however The Roper Center maintains a collection of historical approval polls.
Polling Averages Presidential Primary Polling Averages (2020) Presidential Primary Polling Averages (1980-2016) Presidential General Election Polling Averages (2020) Presidential General Election Polling Averages (1968-2016)
Facebook
TwitterOpen Database License (ODbL) v1.0https://www.opendatacommons.org/licenses/odbl/1.0/
License information was derived automatically
There is a vast amount of literature in different disciplines, such as economics, political science, and data science, about what factors affect the prediction of election outcomes. Various data are being considered to predict the election results, such as social media posts, survey results, referendum judgments, etc.
There are various sources, such as fundamental variables, to predict election results, especially in the United States. Fundamentals refer to variables independent of the current election rhetoric, the campaign performance of a candidate immediately before an election, or social media posts. Fundamental variables include individuals' annual income, annual total family income, age, gender, marital status, race, citizenship status, language spoken at home, education level, and employment status at the individual level. Using these fundamental variables, we aim to determine whether we can predict election outcomes.
Datasets and demographic information are scraped and merged from the US Census website (https://usa.ipums.org/usa/) and MIT Election Data + Science Lab (https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/VOQCHQ).
This dataset is aimed at highlighting the potential for predicting the United States presidential election outcomes at the county level based on the fundamental variables acquired from the American Community Survey data (ACS).
Facebook
TwitterAttribution-ShareAlike 4.0 (CC BY-SA 4.0)https://creativecommons.org/licenses/by-sa/4.0/
License information was derived automatically
A comprehensive, research-grade dataset covering all aspects of Donald Trump's electoral journey including the 2016 presidential election win, 2018 midterm elections during his first tenure, the 2020 electoral defeat, the historic 2024 comeback victory, and 2026 second-tenure midterm election win probabilities. The dataset includes state-by-state results, demographic breakdowns, approval ratings, comparative analysis, swing state tracking, and empirical referendum forecasting models for the 2026 House and Senate balance.
Facebook
Twitterhttps://creativecommons.org/publicdomain/zero/1.0/https://creativecommons.org/publicdomain/zero/1.0/
The 2020 US election is happening on the 3rd November 2020 and the resulting impact to the world will no doubt be large, irrespective of which candidate is elected! After reading the two papers, here and here, I was inspired to attempt a similar sentiment analysis myself!
Tweets collected, using the Twitter API statuses_lookup and snsscrape for keywords, with the original intention to try to update this dataset daily so that the timeframe will eventually cover 15.10.2020 and 04.11.2020. Added 06.11.2020 With the events of the election still ongoing as of the date that this comment was added, I've decided to keep updating the dataset with tweets until at least the end of the 6th Nov. Added 08.11.2020, just one more version pending to include tweets until at the end of the 8th Nov.
Columns are as follows: -
created_at: Date and time of tweet creation -tweet_id: Unique ID of the tweet -tweet: Full tweet text -likes: Number of likes -retweet_count: Number of retweets -source: Utility used to post tweet -user_id: User ID of tweet creator -user_name: Username of tweet creator -user_screen_name: Screen name of tweet creator -user_description: Description of self by tweet creator -user_join_date: Join date of tweet creator -user_followers_count: Followers count on tweet creator -user_location: Location given on tweet creator's profile -lat: Latitude parsed from user_location -long: Longitude parsed from user_location -city: City parsed from user_location -country: Country parsed from user_location -state: State parsed from user_location -state_code: State code parsed from user_location -collected_at: Date and time tweet data was mined from twitter*
- @taniaj and her great Australian Election 2019 Tweets dataset, I used as a template for this dataset.
- Thanks to Twitter for providing the free API and snsscrape to allow collection of the tweet_ids.
Cover photo by Jorge Alcala on Unsplash Unsplash Images are distributed under a unique Unsplash License.
My primary interest for creating this dataset is to ascertain if there is a correlation between the sentiment of users on Twitter and the eventual election results. Other ideas that might be interesting to investigate include:
- Can we detect if there are or were any attempts at manipulating the election.
- Can we predict the candidate from tweet text only.
- Can we predict the election outcome of each state.
I also included still valid and interesting ideas from the Australian Election 2019 Tweets dataset below:
- Take into account retweets and favourites to weight overall sentiment analysis.
- Which parts of the world are interested (ie: tweet about) in the US elections, apart from the US?
- How do the users who tweet about this sort of thing tend to describe themselves?
- Is there a correlation between when the user joined Twitter and their political views (this assumes the sentiment analysis is already working well)?
- Predict gender from username/screen name and segment tweet count and sentiment by gender
- Version 3 - 355,000 tweets collected, using the Twitter API
statuses_lookupandsnsscrapefor keywords between 15.10.2020 and 22.10.2020.
- Version 5 - New tweets collected for the date of 23.10.2020, with a new total number of tweets at around 387,000 tweets.
- Version 6 - New tweets collected for the date of 24.10.2020, with a new total number of tweets at around 418,000 tweets. Additionally the "coordinates" column was removed with "lat" and "long" columns added for
geolocationdata (where possible).
- Version 7 - New tweets collected for the date of 25.10.2020, with a new total number of tweets at around 456,000 tweets. Added column "collected_at" to indicate when the data was mined from twitter. *Note this data is only accurate from 21.10.2020 onwards, data in the subject column before this date is an estimation.
- Version 8 - New tweets collected for the date of 26.10.2020, with a new total number of tweets at around 49...
Facebook
Twitterhttps://creativecommons.org/publicdomain/zero/1.0/https://creativecommons.org/publicdomain/zero/1.0/
Comprehensive and standardized election results of winning and losing candidates for the offices of President, U.S. House, U.S. Senate, and Governor. Between 2006 and 2020 alone, there were over 4,000 races for Congress and Governor in the general election, in which 7,710 Democratic and Republican candidates ran for office. This is a candidate-level dataset that is comprehensive for Presidential, Congressional and gubernatorial contests between 2006 and 2020 with standardized names for each unique candidate, party, incumbency, vote totals, and election results.
Facebook
TwitterThe data consists of Joe Biden's tweets for the past 2 years 2019 and 2020.
It consists of the following columns; id: a unique id for each tweet timestamp: time when twitted url: URL for that tweet tweet: the tweet text replies: number of replies for that particular tweet retweets: number of retweets for that particular tweet quotes: number of quotes for that particular tweet likes: number of likes for that particular tweet
Twitter API
Upcoming Elections :)or that
Facebook
TwitterAttribution 4.0 (CC BY 4.0)https://creativecommons.org/licenses/by/4.0/
License information was derived automatically
EPILOGUE:
https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F360751%2Fa5eefdb31428bd5ce99cdf76fa484a63%2Fmap.jpg?generation=1733007717460285&alt=media" alt="">
FINAL UPDATE: It's election night, and the results are coming in. The final update includes the latest poll data from 538, which is from two days ago. Thanks all for following the development of this dataset.
OCTOBER UPDATE: The past month has been typical of the final weeks before the election - rallies, interviews, and advertising. This update includes a transcript of the VP debate between Walz and Vance, and the latest poll summaries.
SEPTEMBER UPDATE: Trump and Harris had their first debate. This update includes the transcript and recent poll results. Also, there was a second attempt to kill former President Trump! No shots fired though on this one. You'll see aerial diagrams of both attempts in the dataset.
https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Ftse4.mm.bing.net%2Fth%3Fid%3DOIF.edyLiGntLZbwC9fBkg8TsQ%26pid%3DApi&f=1&ipt=a1096b37cf3eced7dff70d362a2c76f8876422f53c47856cadf09f9fa18b367e&ipo=images" alt="debate">
https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F360751%2F0ecedf88421c303e0112734a30de9e29%2Frouth.jpg?generation=1726701011377683&alt=media">
LATE AUGUST UPDATE: The Democratic Party replaced President Biden with his VP, Kamala Harris. It's now Trump v Harris along with one nominee from each of the smaller factions.
https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fmedia.cnn.com%2Fapi%2Fv1%2Fimages%2Fstellar%2Fprod%2F240122181719-trump-kamala-vpx-split-2.jpg%3Fc%3D16x9%26q%3Dw_850%2Cc_fill&f=1&nofb=1&ipt=984b6cf55cf55e1539003ca1c1beaa359625f6e5b08b511b3b018c9d2c959ae5&ipo=imagesg">
https://upload.wikimedia.org/wikipedia/commons/thumb/e/e7/Chase_Oliver%2C_Jill_Stein_%26_Randall_Terry_%2853866448015%29.jpg/1280px-Chase_Oliver%2C_Jill_Stein_%26_Randall_Terry_%2853866448015%29.jpg">
AUGUST UPDATE: This election season just gets crazier and crazier. You'll see new data related to the assassination attempt on former President Trump. There are transcripts of Secret Service hearings and an annotated image of the rally area.
https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F360751%2F75dd20a00c2ac6d81c6d6e1f83cbd941%2Fdonald-trump-rally-shooting-2024-113.webp?generation=1722800392288670&alt=media">
JULY UPDATE: Added the transcript of the debate between Trump and Biden.
MAY UPDATE: Added some new polls and also a meta-poll assessing the quality of select pollsters.
APRIL UPDATE : The dataset now contains approval ratings for sitting presidents, which includes Biden and Trump.
MARCH UPDATE: As of last week, the presumptive nominees are Joe Biden(D) and Donald Trump(R). They also ran against each other in 2020. Robert F Kennedy Jr is running as an independent.
Presidential elections occur quadrennially in years evenly divisible by 4, on the first Tuesday after November 1. Presidential candidates from the major political parties usually declare their intentions to run as early as the spring of the previous calendar year before the election. The two major parties each nominate one candidate through a process of primary elections and nominating conventions during the election year. (source: Wikipedia)
This dataset contains data on candidates, primary/caucus results, polls, and debate transcripts. Updates and additional data will be added as the landscape develops.
Note: Version 3 of this dataset contains previous coverage of the 2022 Congressional Mid-term Elections.