Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot extract the features (columns) for the split 'train' of the config 'default' of the dataset.
Error code:   FeaturesError
Exception:    ValueError
Message:      Failed to convert pandas DataFrame to Arrow Table from file zip://Reddit Ideological and Extreme Bias Dataset - Part 1/Data 1/All articles/Conservative.json::hf://datasets/singlelabelmulticlass/RedditIdeologicalandExtremeBiasDataset@e2256a870cc0e9940ea8c280983105f8f2c16a5a/Reddit Ideological and Extreme Bias Dataset - Part 1.zip.
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/split/first_rows.py", line 233, in compute_first_rows_from_streaming_response
                  iterable_dataset = iterable_dataset._resolve_features()
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 2998, in _resolve_features
                  features = _infer_features_from_batch(self.with_format(None)._head())
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 1918, in _head
                  return _examples_to_batch(list(self.take(n)))
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 2093, in __iter__
                  for key, example in ex_iterable:
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 1576, in __iter__
                  for key_example in islice(self.ex_iterable, self.n - ex_iterable_num_taken):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 279, in __iter__
                  for key, pa_table in self.generate_tables_fn(**gen_kwags):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/packaged_modules/json/json.py", line 172, in _generate_tables
                  raise ValueError(
              ValueError: Failed to convert pandas DataFrame to Arrow Table from file zip://Reddit Ideological and Extreme Bias Dataset - Part 1/Data 1/All articles/Conservative.json::hf://datasets/singlelabelmulticlass/RedditIdeologicalandExtremeBiasDataset@e2256a870cc0e9940ea8c280983105f8f2c16a5a/Reddit Ideological and Extreme Bias Dataset - Part 1.zip.

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

Reddit Ideological and Extreme Bias Dataset

Description

Reddit Ideological and Extreme Bias Dataset - Part 1

Data 1: Dataset with articles posted in the r/Liberal and r/Conservative subreddits. In total, we collected a corpus of 226,010 articles. These articles were collected to understand political expression through shared news articles.

Data 2: Dataset with articles posted in the Liberal, Conservative, and Restricted (private or banned) subreddits. In total, we collected a corpus of 1.3 million articles. These articles were collected to understand radicalized communities through shared news articles.

  • Part 1 contains Data 1 (all) and Data 2 (Raw and Labeled Data - Restricted.json).
  • Part 2 contains Data 2 (Raw and Labeled Data - Liberal.json, and Conservative.json) and Data 2 (Raw and Unlabeled Data - first 40 of the 76 .json files).
  • Part 3 contains Data 2 (Raw and Unlabeled Data - remaining 36 of the 76 .json files).

Reddit Ideological and Extreme Bias Dataset - Part 2

Data 2: Dataset with articles posted in the Liberal, Conservative, and Restricted (private or banned) subreddits. In total, 1.3 million articles were collected to study radicalized communities through shared news articles.

  • Part 2 contains Data 2 (Raw and Labeled Data - Liberal.json, and Conservative.json) and Data 2 (Raw and Unlabeled Data - first 40 of the 76 .json files).

Reddit Ideological and Extreme Bias Dataset - Part 3

Data 2: Dataset with articles posted in the Liberal, Conservative, and Restricted (private or banned) subreddits. We collected 1.3 million articles to analyze radicalized communities through shared news articles.

  • Part 3 contains Data 2 (Raw and Unlabeled Data - remaining 36 of the 76 .json files).

Steps to Reproduce

Data 1:

  1. All articles (Raw) - 226,010
  2. Sampled class-balanced articles - 45,108
  3. Annotated articles - 4,000
    Each folder contains two files: Liberal.json and Conservative.json.

Data 2:

  1. Raw and Labeled Data - 377,144 (Folder contains three .json files for Liberal, Conservative, and Restricted classes).
  2. Raw and Unlabeled Data - 922,522 (Folder contains 76 .json files).

Citation

If you use this dataset, please cite:

Ravi, K., Vela, A. E., & Ewetz, R. (2022, December). Classifying the Ideological Orientation of User-Submitted Texts in Social Media. In 2022 21st IEEE International Conference on Machine Learning and Applications (ICMLA) (pp. 413-418). IEEE.

Ravi, K., & Vela, A. E. (2024). RICo: Reddit ideological communities. Online Social Networks and Media, 42, 100279.

Ravi, K., & Vela, A. E. (2024). Comprehensive dataset of user-submitted articles with ideological and extreme bias from Reddit. Data in Brief, 56, 110849.

Downloads last month
16