CyberDataLab / botbusters-spanish-general-elections

Source code repository for the 2019 Spanish general election analysis.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Botbusters - Analysis of the 2019 Spanish General Election

This is the official repository for the Botbusters analysis of the 2019 Spanish General Election.

Article Dataset Data Descriptor Code

To cite this research, please use the following BibTeX as preferred source.

@article{Botbusters10N, 
  title     = {Spotting Political Social Bots in Twitter: A Use Case of the 2019 Spanish General Election},
  journal   = {IEEE Transactions on Network and Service Management}, 
  author    = {Pastor-Galindo, J. and Zago, M. and Nespoli, P. and {Lopez~Bernal}, S. and {Huertas~Celdrán}, A. and {Gil~Pérez}, M. and Ruipérez-Valiente, J. A. and {Martínez~Pérez}, G. and {Gómez~Mármol}, F.}, 
  year      = {2020}, 
  volume    = {17},
  number    = {4},
  pages     = {2156-2170},
  doi={10.1109/TNSM.2020.3031573}
  }

To cite only this code repository, please use the following BibTeX.

@misc{Botbusters10NGithub, 
  title     = {Botbusters - Analysis of the 2019 Spanish General Election},
  author    = {Pastor-Galindo, J. and Zago, M. and Nespoli, P. and {Lopez~Bernal}, S. and {Huertas~Celdrán}, A. and {Gil~Pérez}, M. and Ruipérez-Valiente, J. A. and {Martínez~Pérez}, G. and {Gómez~Mármol}, F.}, 
  year      = {2020}, 
  month     = {Mar}, 
  version   = {DOI},
  publisher = {Zenodo},
  doi       = {10.5281/zenodo.3733195},
  url       = {https://github.com/CyberDataLab/botbusters-spanish-general-elections}
} 

The main article with the analysis of the data has been published in IEEE Transactions on Network and Service Management [1]. A preprint copy is available on arXiv.

The associated dataset has been published on IEEE Dataport [2] and in-depth described in a Data Descriptor article published in Data in Brief [3].

Authors

  • Javier Pastor-Galindo (javierpg [at] um [dot] es) M
  • Mattia Zago (mattia [dot] zago [at] um [dot] es) M
  • Pantaleone Nespoli (pantaleone [dot] nespoli [at] um [dot] es) M
  • Sergio López Bernal (slopez [at] um [dot] es) M
  • Alberto Huertas Celdrán (ahuertas [at] tssg [dot] org) W
  • Manuel Gil Pérez (mgilperez [at] um [dot] es) M
  • José A. Ruipérez-Valiente (jruiperez [at] um [dot] es) M
  • Gregorio Martínez Pérez (gregorio [at] um [dot] es) M
  • Félix Gómez Mármol (felixgm [at] um [dot] es) M

Affiliations

M Authors are with the Department of Information and Communications Engineering, University of Murcia, Spain

W Authors are with the Telecommunication Software & Systems Group, Waterford Institute of Technology, Ireland

Abstract

While social media has been proved as an exceptionally useful tool to interact with other people and massively and quickly spread helpful information, its great potential has been ill-intentionally leveraged as well to distort political elections and manipulate constituents. In the paper at hand, we analyzed the presence and behavior of political social bots on Twitter in the context of the November 2019 Spanish general election. Throughout our study, we classified involved users as Social bots or humans, and examined their interactions from a quantitative (i.e., amount of traffic generated and existing relations) and qualitative (i.e., user's political affinity and sentiment towards the most important parties) perspectives. Results demonstrated that a non-negligible amount of those bots actively participated in the election, supporting each of the five principal political parties.

Usage

There are five notebooks to perform the analysis of the data. To be precise:

  • Phase 1 takes care of importing, checking, completing, and formatting the raw data retrieved from the Social Feed Manager [5].
  • Phase 2 preprocess the data in order to calculate the required features. It also anonymizes the data for the analysis.
  • Phase 3 extracts the statistical information regarding the social bots' activities.
  • Phase 4 processes the data for the social bots' classification, which is performed with Orange3 [6]. The friendship graph is drawn with Gephi [7].
  • Phase 5 performs the analysis of the results provided by the social bots' classification process.

Bibliography

  1. Pastor-Galindo J., Zago M., Nespoli P., López Bernal S., Huertas Celdrán A., Gil Pérez M., Ruipérez-Valiente J. A., Martínez Pérez G., Gómez Mármol F., 2020. Spotting political social bots in Twitter: A use case of the 2019 Spanish general election. IEEE Transactions on Network and Service Management. DOI: 10.1109/TNSM.2020.3031573
  2. Pastor-Galindo J., Zago M., Nespoli P., López Bernal S., Huertas Celdrán A., Gil Pérez M., Ruipérez-Valiente J. A., Martínez Pérez G., Gómez Mármol F., 2020. Spotting political social bots in Twitter: a dataset for the 2019 Spanish general election. IEEE Dataport. DOI: 10.21227/30ca-eg80
  3. Pastor-Galindo J., Zago M., Nespoli P., López Bernal S., Huertas Celdrán A., Gil Pérez M., Ruipérez-Valiente J. A., Martínez Pérez G., Gómez Mármol F., 2020. Twitter social bots: The 2019 Spanish general election data. Data in Brief. DOI: 10.1016/j.dib.2020.106047
  4. Zago M., Nespoli P., Papamartzivanos D., Gil Pérez M., Gómez Mármol F., Kambourakis G. and Martínez Pérez G., 2019. Screening Out Social Bots Interference: Are There Any Silver Bullets?. IEEE Communications Magazine, 57(8), pp.98-104. DOI: 10.1109/MCOM.2019.1800520
  5. George Washington University Libraries, 2016. Social Feed Manager. Zenodo. DOI: 10.5281/zenodo.597278
  6. Demsar J., Curk T., Erjavec A., Gorup C., Hocevar T., Milutinovic M., Mozina M., Polajnar M., Toplak M., Staric A., Stajdohar M,. Umek L., Zagar L., Zbontar J., Zitnik M., Zupan B., 2013. Orange: Data Mining Toolbox in Python. Journal of Machine Learning Research. vol. 14, Aug 2013, p. 2349−2353.
  7. Bastian, M., Heymann, S., Jacomy, M., 2009. Gephi: An Open Source Software for Exploring and Manipulating Networks. Third International AAAI Conference on Web and Social Media.

About

Source code repository for the 2019 Spanish general election analysis.

License:MIT License


Languages

Language:Jupyter Notebook 100.0%