Published December 20, 2021 | Version v1

Twitter Italian political dataset

  • 1. IIT, CNR

Description

This dataset was released as part of a scientific article about predicting the leaning of Italian Twitter users, within the current Italian political spectrum. The article is available at https://www.jair.org/index.php/jair/article/view/13112 .

In this dataset we include data for 8 political parties (PRC, + E, PD, M5S, FI, Lega, FdI, CPI) which cover the whole spectrum from left to right of Italian politic. Operationally, we first crawled the Twitter timelines of each political party. Then, for each collected tweet, we obtained a list of users that liked that tweet. At the end of this process we obtained a bipartite graph linking 20,199 users to our 8 considered parties, based on explicit user likes to party tweets. We completed our data collection by crawling the most recent 200 tweets from the timelines of all 20,199 users, which resulted in more than 3.6M tweets, in total. When building the dataset, we only included users whose timeline contained at least 25 tweets. For each user, we collected at most up to 200 tweets. This data collection process roughly covered the months of August to early October 2019. On average, user timelines include 179.3 tweets, evenly distributed during our data collection period. Finally, we performed a stratified sampling to split our dataset into a training (90% - 18,169 users), a validation (3% - 604 users) and a test (7% - 1,426 users) partition.

Files

final-test-data.csv

Files (647.0 MB)

Name Size
md5:decc4a694f258c37c2051c1caae5de79
45.2 MB Preview Download
md5:9d4919df71496f6721486f8cfed0b5f0
41.5 kB Preview Download
md5:689b8a582e5cd924170880a55504be43
581.8 MB Preview Download
md5:7b7f6b0f3242b8c2068fe0a0f90a8668
551.7 kB Preview Download
md5:8bbf250fca6175b19e77b9766f994eba
19.3 MB Preview Download
md5:2dcfc724d598b25aa5c7050aabb92099
17.5 kB Preview Download