Learn R Programming

promptr (version 1.0.0)

scotus_tweets: Tweets About The Supreme Court of the United States

Description

This dataset contains 945 tweets referencing the US Supreme Court. Roughly half were collected on June 4, 2018 following the Masterpiece Cakeshop ruling, and the other half were collected on July 9, 2020 following the Court's concurrently released opinions in Trump v. Mazars and Trump v. Vance. Each tweet includes three independent human-coded sentiment scores (-1 to +1).

Usage

data(scotus_tweets)

Arguments

Format

A data frame with 945 rows and 5 columns:

tweet_id

A unique ID

text

The text of the tweet

case

An identifier denoting which Supreme Court ruling the tweet was collected after.

expert1, expert2, expert3

Hand-coded sentiment score (-1 = negative, 0 = neutral, 1 = positive)

Details

CONTENT WARNING: These texts come from social media, and many contain explicit or offensive language.

References

Ornstein et al. (2024). "How To Train Your Stochastic Parrot"