# Political Polarization on Twitter (ICWSM 2011) Three networks of political communication among Twitter users in the six weeks before the 2010 US Congressional midterm elections, from the study by Conover and colleagues ('Political Polarization on Twitter'): the retweet network (61,157 edges among 18,470 users), the mention network (15,159 edges among 7,175 users) and a combined network of both kinds of edge (77,920 edges among 22,405 users). Each edge is one tweet with its type, number of hyperlinks, time and hashtags, and each user has a cluster label (left, right, or none) from the retweet network. ## At a glance - **Platform:** Twitter (X) - **Period covered:** 2010-09-14 to 2010-11-01 (times of the tweets in the data; the study collected tweets from 14 September to 1 November 2010) - **Tables:** edges (154,236 rows), nodes (48,050 rows) - **Structure:** Directed network, Multigraph (repeated links), Temporal (timestamped), Multilayer (several networks), Node attributes - **Version:** 1.0.0 - **Licence:** CC BY-NC-ND 4.0; SPDX `CC-BY-NC-ND-4.0` - **Original DOI:** 10.1609/icwsm.v5i1.14126 ## Contents | Path | What it is | |---|---| | `data/edges.parquet` | The edges table (canonical, Parquet) | | `csv/edges.csv.gz` | The same table as gzip CSV | | `jsonl/edges.jsonl.gz` | The same table as gzip JSON Lines | | `graph/edges.tsv.gz` | The edges as a tab-separated file for graph tools | | `data/nodes.parquet` | The nodes table (canonical, Parquet) | | `csv/nodes.csv.gz` | The same table as gzip CSV | | `graph/nodes.tsv.gz` | The nodes as a tab-separated file for graph tools | | `original/` | The 1 upstream file(s), byte for byte | | `datapackage.json`, `croissant.json` | Machine-readable descriptions of this package | | `CITATION.cff`, `CITATION.bib` | How to cite | | `LICENSE.md` | Licence and terms | | `manifest-sha256.txt` | SHA-256 checksum of every file | ## Tables and columns ### edges (154,236 rows) Links of a network. One row per link as upstream recorded it: repeated links and events are never merged. | Column | Type | Meaning | |---|---|---| | `src` | string | Column 0 of the edge list: the index of the node the edge runs from. In the retweet network an edge runs from A to B if B retweets content produced by A; in the mention network from A to B if A mentions B (as the data specification states). Indices are those of the network named in `layer` and are not comparable between layers. | | `dst` | string | Column 1: the index of the node the edge runs to. | | `edge_type` | string | Column 2: the type of tweet, as written: `retweet` (122,591), `reply` (31,645). The specification calls the second type 'mention'; the files write `reply`. | | `created_at` | datetime | Column 4: the Unix epoch timestamp of the tweet (seconds since 1970-01-01 UTC). The specification says 'by local timezone' without naming a zone; see the notes. (time unit: second) | | `x_urls` | integer | Column 3: the number of hyperlinks in the tweet (the specification: 'a count of the number of hyperlinks'), whole numbers from 0 to 4. | | `x_hashtags` | object | Columns 5 and later: the hashtags of the tweet as a JSON array of strings, in file order, as written (with the leading #); never empty, since every tweet in the data has at least one hashtag. | | `layer` | string | Which of the three networks the edge belongs to: `retweet`, `mention` or `all` (the file it comes from). The `all` network is not the union of the other two in the files (see the notes). | ### nodes (48,050 rows) Nodes of a network, with their attributes. | Column | Type | Meaning | |---|---|---| | `node_id` | string | Column 0 of the node file: the node index; unique within a layer. | | `x_cluster` | string | Column 1: the retweet-network cluster of the node: `left` (the cluster with a majority of left-leaning users), `right`, or `-` for users who appear in the mention network but not in the retweet network. Written as in the file. | | `layer` | string | Which network's node file the row comes from. Node indices are numbered per network, so the same index can be different users in different layers. | ## Quick start Python (pandas): ```python import pandas as pd df = pd.read_parquet("https://echo.directory/download/osome-polarization/v1.0.0/data/edges.parquet") ``` DuckDB (reads over HTTP without downloading the file first): ```sql SELECT * FROM 'https://echo.directory/download/osome-polarization/v1.0.0/data/edges.parquet' LIMIT 10; ``` R (arrow): ```r df <- arrow::read_parquet("https://echo.directory/download/osome-polarization/v1.0.0/data/edges.parquet") ``` ## How this package was made ECHO converted the upstream file(s) listed under `original/` into the tables above, following the [ECHO Data Package 1.0.0](https://echo.directory/docs/edp/1.0/) standard. Every value was checked against the source during conversion: no row was dropped and no value was changed except as described here. - The specification in the archive (data_format_specification.docx, 'Networks of Political Communication', Center for Complex Networks and Systems Research, Indiana University) documents the three networks, the edge attributes and the node file; the facts above come from it and from the tables. Tweets were collected from the Twitter 'gardenhose' streaming API between 14 September and 1 November 2010. - Each node file lists every node: its nodes are exactly the nodes that occur in the layer's edges (retweet: 18,470, mention: 7,175, all: 22,405). Cluster counts: retweet: left 11,355, right 7,115; mention: - 3,271, left 1,803, right 2,101; all: - 3,935, left 11,355, right 7,115. - The three networks are separate files with separate node numbering. The `all` network holds 77,920 edges (61,434 retweet and 16,486 reply), more than the 76,316 edges of the retweet and mention files together, because the retweet and mention files hold only the largest connected component of their network while `all` does not restrict to one; the specification does not say this, it is read from the counts. Edges of `all` can therefore not be matched with the rows of the other layers by node index. - Edges repeat: retweet: 2 rows are exact repeats of another row (12,792 rows repeat an (src, dst) pair); mention: 3 rows are exact repeats of another row (3,089 rows repeat an (src, dst) pair); all: 18 rows are exact repeats of another row (17,103 rows repeat an (src, dst) pair). Each row is a tweet, and every row is kept. - Times: the tweets run from 2010-09-14 04:00:05 to 2010-11-01 22:41:59 UTC when the timestamp is read as true Unix time, inside the stated collection window; the earliest tweets are at 04:00 UTC on 14 September 2010, which is midnight US Eastern daylight time, the start of that day, so the values are consistent with Unix time in UTC, not with local clock times written as if UTC. The specification's wording 'by local timezone' is not explained. - The archive also holds GraphML and Python (igraph pickle) copies of the same three networks and the specification as a Word file; the GraphML and pickle files are not converted here (the pickles never reach the data tables), and all are kept unchanged inside the original zip. ## Credit - **Michael Conover**, creator (https://zenodo.org/records/4589065) - **Jacob Ratkiewicz**, creator - **Matthew Francisco**, creator - **Bruno Goncalves**, creator - **Alessandro Flammini**, creator - **Filippo Menczer**, creator - **Center for Complex Networks and Systems Research, Indiana University**, publisher: named on the data format specification in the archive - **Zenodo**, distributor (https://zenodo.org/records/4589065) - **ECHO, Syracuse University**, packager (https://echo.directory) ## Licence and terms CC BY-NC-ND 4.0; SPDX `CC-BY-NC-ND-4.0`, https://creativecommons.org/licenses/by-nc-nd/4.0/. See `LICENSE.md` for the upstream terms. The Zenodo record (https://zenodo.org/records/4589065, DOI 10.5281/zenodo.4589065) lists the licence as "other open" and attaches the file LICENSE.CC-BY-NC-ND-4.0.txt: Creative Commons Attribution-NonCommercial-NoDerivatives 4.0. The tables in data/ are a format conversion that keeps every row and value; section 2(a)(4) of the licence allows technical modifications needed to use the material in other formats and states that they never produce Adapted Material, so the package carries the same licence. Use is non-commercial, with attribution, and the data may not be adapted. The data format specification inside the archive (data_format_specification.docx) states a different licence, Creative Commons Attribution-ShareAlike 3.0; where the two differ, the stricter terms of the Zenodo record are followed. ## Citation ```bibtex @misc{echo2026, title = {ECHO: Exploratory Compendium of Humanity Online}, author = {Switzer, Braden and Zafarani, Reza}, year = {2026}, url = {https://echo.directory}, note = {Syracuse University} } @article{Conover_2021, title = {Political Polarization on Twitter}, volume = {5}, issn = {2162-3449}, url = {http://dx.doi.org/10.1609/icwsm.v5i1.14126}, doi = {10.1609/icwsm.v5i1.14126}, number = {1}, journal = {Proceedings of the International AAAI Conference on Web and Social Media}, publisher = {Association for the Advancement of Artificial Intelligence (AAAI)}, author = {Conover, Michael and Ratkiewicz, Jacob and Francisco, Matthew and Goncalves, Bruno and Menczer, Filippo and Flammini, Alessandro}, year = {2021}, month = Aug, pages = {89–96} } @inproceedings{conover2011political, title = {Political Polarization on Twitter}, author = {Conover, Michael and Ratkiewicz, Jacob and Francisco, Matthew and Goncalves, Bruno and Menczer, Filippo and Flammini, Alessandro}, booktitle = {Proceedings of the 5th International AAAI Conference on Weblogs and Social Media (ICWSM)}, year = {2011} } @misc{conover2011zenodo, title = {Political Polarization on Twitter}, author = {Conover, Michael and Ratkiewicz, Jacob and Francisco, Matthew and Goncalves, Bruno and Flammini, Alessandro and Menczer, Filippo}, year = {2011}, publisher = {Zenodo}, doi = {10.5281/zenodo.4589065} } ``` ## Versions This is version 1.0.0. Every version is kept unchanged at its own address (`https://echo.directory/download/osome-polarization/v1.0.0/`); `CHANGELOG.md` lists what changed between versions.