Indonesia Presidential Candidate's Dataset, 2024

Published: 12 December 2023| Version 5 | DOI: 10.17632/7w5zvr8jgp.5
asno firdaus


The raw data was downloaded by using Python programming with Twitter API. Data comes from the Twitter platform that discusses the issue of Indonesia's 2024 presidential candidate. There are a total of 30,000 data with each candidate breakdown as follows: • Ganjar Pranowo: October 2022 - April 2023 • Prabowo Subianto: December 2022 - April 2023 • Anies Baswedan: January - April 2023 The data used is data before the determination of presidential candidates, but the topic of the Indonesian presidential election on social media Twitter has been widely discussed. The data obtained will be useful for future research as a comparison in determining the results of the Indonesian Presidential election when compared with data at the time of determining candidates and campaigns as well as data after being elected President (actual results)


Steps to reproduce

Data is obtained using Visual Studio Code (VSCode) programming tools with Python programming language. When retrieving data, the computer needs to get stable internet access so that the data can be downloaded. The data used is data on candidates for the 2024 Indonesian Presidential candidate. The keywords used to collect data are "candidate name + President of Indonesia 2024", such as Ganjar President of Indonesia 2024, President Prabowo Indonesia 2024, and Anies President of Indonesia 2024. The data collection conducted in April 2023 with 10,000 data for each candidate. The resulting data is CSV. To get positive and negative class sentiment labels on each Tweet, we were assisted by linguists.


Universitas Ahmad Dahlan


Data Mining, Machine Learning, Big Data, Political Campaigning, Sentiment Analysis


Kementerian Pendidikan, Kebudayaan, Riset, dan Teknologi