Bitcoin and Ethereum: Computational Analysis of Twelve Years of Social Media Discourse, Sentiment Dynamics, and Sustainability Narratives
Abstract
Description This data contains tweet IDs and derived variables for 42.7 million tweets tagged #bitcoin/#BTC (35,791,717 tweets, March 2010 – June 2022) and #ethereum/#ETH (6,873,450 tweets, November 2013 – June 2022), collected with snscrape in June 2022, before the Ethereum Merge. For every tweet the files give sentiment scores from four methods (VADER, Twitter RoBERTa, CryptoBERT, FinBERT), climate relevance from a keyword dictionary and from ClimateBERT, cleaning flags, simple text counts and engagement counts. For the climate-related subset they add the relevance and stance coded by a large language model (critique, defence, solution, info, promo) and the domains and source types of linked websites. A human-coded validation sample of 1,000 tweets, the keyword dictionary and the coding instructions are included. The files contain no tweet text, usernames or account information. Tweets can be retrieved by their IDs through the X API; the full data are available from the corresponding author for non-commercial academic research under a data use agreement. Files File Rows Contents BTC_derived_climate_sentiment_links.csv 35,791,717 One row per Bitcoin tweet: ID, date, tweet metadata, engagement counts and all derived variables (data dictionary below) ETH_derived_climate_sentiment_links.csv 6,873,450 The same for Ethereum tweets gold_key.csv 1,000 Validation sample: tweet ID, coin, sampling stratum, keyword and ClimateBERT result group_sizes.csv 10 Size of each sampling stratum in the full data, per coin (used to weight recall) gold_codes.csv 1,000 Human codes for the validation sample: relevance, stance, sentiment gold_codes_coder2.csv 250 Second coder's codes for the reliability check keyword_dictionary.md — Climate keyword dictionary: terms, tiers, exclusions codebook.pdf — Coding instructions for relevance, stance and sentiment README.md — This description The two derived files are joined to each other, or to the validation files, on id. A tweet tagged with both coins can appear in both corpora, so use id together with coin when combining them. How the data were collected and processed Collection. Tweets were collected with snscrape in June 2022 using the hashtags #bitcoin and #BTC (Bitcoin corpus) and #ethereum and #ETH (Ethereum corpus). The snscrape search returns original tweets, replies and quote tweets, so the corpora contain no retweets. Engagement counts (likes, retweets, replies, quotes) reflect their values at collection, not at posting. Sentiment. VADER compound scores (vaderSentiment package) were computed on the original tweet text. Twitter RoBERTa, CryptoBERT and FinBERT were run on every tweet, with user mentions replaced by “@user”, links by “http” and texts truncated to 128 tokens. Cleaning flags. Duplicate texts were identified after lower-casing and removing links, mentions, hashtags and extra spaces (the first copy is kept). Tweets with 8 or more hashtags, or more hashtags than half their words, are flagged as hashtag-stuffed. Climate filter. A three-tier keyword dictionary selected candidate climate tweets: 186,021 Bitcoin and 31,144 Ethereum tweets. ClimateBERT (climate detector) was run on every tweet as a comparison. Clean climate subset. Duplicates (checked among keyword matches) and hashtag-stuffed tweets were removed, leaving 130,574 Bitcoin and 15,500 Ethereum tweets. LLM coding. Each tweet in the clean subset was coded by a Claude model (named in llm_model) for climate relevance and stance, using the prompt in the paper's supplement. 92,386 Bitcoin and 10,647 Ethereum tweets were coded relevant. Links. For the relevant tweets, shortened links were expanded and each linked domain was assigned a source type. Validation. A stratified sample of 1,000 tweets (500 per coin) was coded by the first author, and 250 of them by a second coder. Agreement: relevance κ = 0.76, stance κ = 0.71, sentiment κ = 0.67. Data dictionary N Column Name Description Public Raw variables 1 timestamp Date and time of the tweet (with seconds). True 2 id Unique identifier of the tweet. True 3 text Original tweet text (not cleaned). False 4 username Username of the account that posted the tweet. False 5 userid Unique user ID of the tweet author. False 6 hashtags List of all unique hashtags used in the tweet. False 7 media Type or presence of media attachments (e.g., image, video). True 8 outlinks Any external links shared in the tweet. False 9 followersCount Number of followers the author had. False 10 friendsCount Number of accounts the user was following. False 11 statusesCount Total number of tweets the user had posted. False 12 favouritesCount Total number of tweets the user had liked. False 13 listedCount Number of public lists the user was a member of. False 14 mediaCount Total number of media (e.g., photos, videos) posted by the user. False 15 location Self-reported location of the user. False 16 mentionedUsers_ids User IDs of accounts mentioned in the tweet. False 17 mentionedUsers_usernames Usernames of accounts mentioned in the tweet. False 18 inReplyToTweetId Tweet ID that this tweet is replying to (if applicable). True 19 inReplyToUser_id User ID of the person this tweet replies to. False 20 inReplyToUser_username Username of the person this tweet replies to. False 21 retweetedTweetId ID of the retweeted tweet (if the tweet is a retweet). True 22 retweetedTweetUserId User ID of the author of the retweeted tweet. False 23 retweetedTweetUserUsername Username of the author of the retweeted tweet. False 24 quotedTweetId ID of the quoted tweet (if present). True 25 quotedTweetUserId User ID of the quoted tweet’s author. False 26 quotedTweetUserUsername Username of the quoted tweet’s author. False 27 coordinates Geographical coordinates of the tweet (if available). False 28 place Place name associated with the tweet’s location (e.g., city or country). False 29 reply_count Number of replies the tweet received. True 30 retweet_count Number of times the tweet was retweeted. True 31 like_count Number of likes the tweet received. True 32 quote_count Number of times the tweet was quoted. True 33 lang Detected language of the tweet. True 34 created Date and time the account was created (UTC) False Derived variables 1 clean Preprocessed tweet text (cleaned for analysis). False 2 coin Dataset the tweet comes from (BTC or ETH), based on the collection hashtag. True 3 hashtag_count Number of hashtags. True 4 mention_count Number of user mentions. True 5 n_words Number of words. True 6 is_duplicate_text 1 if an earlier tweet in the same corpus has the same text after removing links, mentions, hashtags and extra spaces. True 7 is_hashtag_stuffed 1 if the tweet has 8 or more hashtags, or more hashtags than half its words. True 8 has_url 1 if the tweet contains a link, otherwise 0. True 9 vader_sentiment Sentiment score from the VADER library (range: -1 to 1). True 10 vader_label Sentiment class from VADER: Very positive, Positive, Neutral, Negative, Very negative. True 11 cryptobert_sentiment Sentiment score from CryptoBERT (ElKulako/cryptobert), a model trained on cryptocurrency social media posts. Computed as P(bullish) − P(bearish) (range: −1 to 1). True 12 cryptobert_label predicted sentiment class from CryptoBERT (Bearish, Neutral, Bullish). True 13 twitter_roberta_sentiment Sentiment score from Twitter RoBERTa (cardiffnlp/twitter-roberta-base-sentiment-latest), a RoBERTa model trained on tweets. Computed as P(positive) − P(negative) (range: −1 to 1). True 14 twitter_roberta_label Predicted sentiment class from Twitter RoBERTa (Negative, Neutral, Positive). True 15 finbert_sentiment Sentiment score from FinBERT (ProsusAI/finbert), a BERT model fine-tuned on financial text. Computed as P(positive) − P(negative) (range: −1 to 1). True 16 climatebert_score Probability that the tweet is climate-related according to ClimateBERT, P(yes) (range: 0 to 1, rounded to 4 decimals). Allows other thresholds than 0.5. True 17 climatebert_label Climate relevance predicted by ClimateBERT (climatebert/distilroberta-base-climate-detector; Webersinke et al., 2022): yes = climate-related, no = not climate-related. The label with the higher probability, so yes when climatebert_score > 0.5 True 18 climate_keyword_match 1 if the tweet matches the climate keyword dictionary, meaning it contains a core term or an ambiguous term together with a context term; 0 otherwise. True 19 climate_terms_matched Indicator of which climate-related word appeared in the tweet True 20 climate_word_tier indicator of which tier of climate-related word appeared in the tweet True 21 in_clean_climate_subset 1 if the tweet is a keyword match that remains after removing duplicate texts and hashtag-stuffed tweets. These tweets were coded by the LLM. True 22 llm_relevant 1 if LLM coded as climate-related, otherwise 0. Filled in for all 130,574 tweets in the clean subset. True 23 llm_stance Stance toward the environmental sustainability of the cryptocurrency, as coded by the LLM (defence /