JOURNAL ARTICLE

US presidential election 2020 prediction based on Twitter data using lexicon-based sentiment analysis

Abstract

Sentiment analysis is a technique of analyzing public opinion on a problem. The presidential election in the United States is a hot issue that will affect various aspects of the world. The goal of this analysis is to forecast the outcome of the US presidential election and to compare these results with the actual results of the polls. The sentiment analysis used in this study is the lexicon-based sentiment analysis. The method used in this research is data collection, data preprocessing, data mapping and sentiment analysis. The data in this study were obtained from Twitter taken one week before the United States presidential election was held. The model used in this research is VADER sentiment analysis. The data cleaning mechanism in this study uses a method in text mining, where the data is first cleaned of various things that are not considered important in the analysis. Furthermore, the data that can be used as material for analysis is saved again to make it easier to read the data. In the analysis, tweets from users are mapped and counted by the state of the United States of America. The result of this research is a prediction for the Democratic Party to win 22 votes over the Republican Party which received 19 votes. The results from the BBC show that the Democratic Party won with 24 votes, and the Republican Party only got 20 votes. With these results, the VADER sentiment analysis model can produce predictions following the actual results of the US presidential election.

Keywords:
Sentiment analysis Presidential election Presidential system Lexicon Computer science Preprocessor Data pre-processing Democracy Artificial intelligence Political science Data mining Information retrieval Law Politics

Metrics

22
Cited By
2.26
FWCI (Field Weighted Citation Impact)
15
Refs
0.89
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Sentiment Analysis and Opinion Mining
Physical Sciences →  Computer Science →  Artificial Intelligence
Data Mining and Machine Learning Applications
Physical Sciences →  Computer Science →  Information Systems
Information Retrieval and Data Mining
Physical Sciences →  Computer Science →  Information Systems

Related Documents

JOURNAL ARTICLE

Election Prediction Based on Sentiment Analysis using Twitter Data

A. YavariHamid HassanpourBagher Rahimpour CamiM. Mahdavi

Journal:   International Journal of Engineering Year: 2021 Vol: 35 (2)Pages: 372-379
JOURNAL ARTICLE

Lexicon Based Sentiment Analysis of Twitter Data

Dibakar Ray

Journal:   International Journal for Research in Applied Science and Engineering Technology Year: 2017 Vol: V (X)Pages: 910-915
© 2026 ScienceGate Book Chapters — All rights reserved.