A list of Twitter datasets and related resources, released under CC0. If you have a resource to add to the list, feel free to open a pull request, or email me at [email protected].
The license, when known, is given in {curly brackets}. Dataset size is given in [square brackets] when available.
Table of Contents
- Chirps {Apache License 2.0} [9m] - News-related tweets. Updated daily. Used in the paper "Acquiring Predicate Paraphrases from News Tweets" by Vered Shwartz, Gabriel Stanovsky and Ido Dagan.
- COVID-19 Twitter Dataset {CC0} [100m] - Tweets acquired from the Twitter Stream related to COVID-19 chatter. Can also be found on Zenodo.org.
- Arab Spring Twitter Dataset {?} [8m] - Roughly 8 million tweets related to the Arab Spring, separated by country. Contain tweet IDs and twitter IDS, but no tweet contents.
- Cheng-Caverlee-Lee {?} [5m] - A collection of scraped public twitter updates used in coordination with an academic project to study the geolocation data related to twittering.
- 3 million Russian troll tweets {?} [3m] - Released by 538.
- Lerman Twitter 2010 Dataset [2.8m] - Contains tweets containing URLs that have been posted on Twitter during October 2010. In addition to tweets, links of tweeting users were followed, allowing the reconstruction the follower graph of active (tweeting) users.
- Twitter_2010 {?} [2m] - Released by Kristina Lerman at USC.
- MovieTweetings {MIT} [725k] - A live movie rating dataset collected from Twitter.
- Geotagged COVID-19 Twitter Dataset {?} [650k] - Geotagged COVID-19 tweets collected from the Twitter Stream within the United States (50 states and Washington, D.C.).
- Sanders Analytics Sentiment-labelled tweets {?} [5513]
- Elon Musk Tweets-Until 4/6/17
- 2015 New Year's Resolutions
- Trump Tweets, 5/4/09 - 12/5/16
- ArchiveTeam JSON Download of Twitter Stream, 2011 - 2022 [16bn]
- 72 Hours of #Gamersgate [313K]
- RepLab 2013 Dataset - RepLab 2013 dataset uses Twitter data in English and Spanish (more than 142,000 tweets).
- Sentiment140 - Automatically labelled; authors assume that any tweet with positive emoticons, like :), are positive, and tweets with negative emoticons, like :(, are negative.
- Weather-sentiment
- Crowdflower Gender Classifier Data [20k] - Contributors were asked to simply view a Twitter profile and judge whether the user was a male, a female, or a brand (non-individual). The dataset contains 20,000 rows, each with a user name, a random tweet, account profile and image, location, and even link and sidebar color.
- Sanders Analytics {?} [5k]- Use Internet Archive's Wayback Machine to get the data. The dataset consists of 5513 hand-classified tweets. Each tweet was classified with respect to one of four different topics.
- Geoparse Benchmark Open Dataset {BSD-4_Clause} [?] - The geoparsing benchmark dataset contains 1000’s of tweets recorded during 4 different natural disasters. These events are Hurricane Sandy 2012, Milan Blackouts 2013, Turkish Earthquake 2012 and the Christchurch Earthquake 2012. Each tweet in the dataset has been manually labelled with location entries at the building, street and region levels to provide a gold standard for evaluation work. The data consists of the full JSON serialized tweet metadata (i.e. including text) with an additional ‘entities’ field of type ‘mentions’ for the ground truth location annotations.
- Max Plank Institute's Twitter Dataset {?} [55m] - The social graph component only of the following dataset: 54,981,152 user accounts; 1,963,263,821 social (follow) links. 1,755,925,520 tweets.
- Twitter Social Graph {?} [41m] - From the "What is Twitter, a Social Network or a News Media?" paper.
- Arizona State University Twitter Data Set [11m] - Alternate download (via torrent) here.
- Twitter User Sample (Tweets Loud and Quiet) {MPL 2.0} [400k] - Metadata of ~400,000 Twitter accounts, scraped between September 17, 2013, and October 19, 2013, as part of the work on the "Tweets loud and quiet" article.
- Higgs Twitter Dataset {?} [456k] - The Higgs dataset has been built after monitoring the spreading processes on Twitter before, during and after the announcement of the discovery of a new particle with the features of the elusive Higgs boson on 4th July 2012.
- Twitter Data - NIPS 2012 [81k] - This dataset consists of 'circles' (or 'lists') from Twitter. Twitter data was crawled from public sources. The dataset includes node features (profiles), circles, and ego networks.
- ego-twitter [80k] - 80K nodes and 1.7 million edges.
- The SNAP 2010 Dataset [41m] - 41m nodes and 1.4 billion edges.
- soTweet [full] {X} - This projects includes a Twitter social graph dataset - of the full Twitter network - from 2012. Also includes an anonymized dataset of social clicks from 2016. Both are available on request.
- Twitter Event Detection Dataset {?} [120m] - A collection of 120 million tweets, with relevance judgements for over 500 events.
- Kwak10www - A dataset consisting of 41.7 million user profiles, 1.47 billion social relations, 4,262 trending topics, and 106 million tweets, collected between July 6th, 2009 to July 31st, 2009. From the "What is Twitter, a Social Network or a News Media?" paper. The social graph part of that data set is available on the paper's webpage.
- twitter7 - A dataset consisting of nearly 580 million Twitter posts from 20 million users covering a 8 month period from June 2009 to February 2010. Estimated to be about 20-30% of all posts published on Twitter during that time frame. Created as part of [J. Yang, J. Leskovec. Temporal Variation in Online Media. ACM International Conference on Web Search and Data Mining (WSDM '11), 2011.].
- burger2011 - A corpus consisting of 213 million tweets from 18.5 million users, in many different languages. Collected as part of [John D. Burger, John C. Henderson, George Kim, and Guido Zarrella. 2011. Discriminating gender on Twitter. In Proceedings of the Conference on Empirical Methods in Natural Language Processing, pages 1301–1309].
- calufa2011 - 200+ million tweets from 13+ million users, 173 GB uncompressed, mysql format (543 million rows). The archive.org copy has been taken down: https://archive.org/details/2011-05-calufa-twitter-sql. Several mentions on HackerNews: https://news.ycombinator.com/item?id=2633384
- fifa2014 - 86k tweets from 2014 FIFA World Cup. Described here: https://opendata.stackexchange.com/a/4015, previously available from a data-provider which is no longer online (topsy.com). One potential source is https://ankeshanand.carto.com/tables/fifatweets/public, although the data export is not clear. There are several blogs describing this data and its analysis, so contacting those authors may be a way to revive this dataset.
- Tweet ID Datasets {CC-BY 4.0} - A catalog of Twitter ID (i.e. contentless) datasets that are publicly available on the web.
- Free Twitter Datasets by followthehashtag
- Twitter open datasets - A question on opendata.stackexchange.
- Datasets for PAN's shared tasks on digital text forensics - Not Tweeter, but close.
- twitter-dataset-collector {Apache License 2.0} [Java] - Facilitates the distribution of Twitter datasets by downloading sets of tweets (if still available) using their ids as input.
- Expand The Edinburgh Twitter FSD Corpus
- Twitter-ratings {MIT} - A collection of Python scripts to download and extract rating datasets from Twitter for multiple websites.
- RepLab 2013 Twitter text downloaded - Find it at the bottom of the page.
- OSU Twitter NLP Tools - A suite of Twitter NLP tools.
- sentimentstwitter {MIT} - Given a tweet (that contains some text), estimate the sentiment (negative or positive) of the tweeter.
- Twitter-L-LDA {GPLv3} - A set of tools for performing Labeled Latent Dirichlet Allocation on textual datasets, with an emphasis on Twitter profiles. Contains tools for analysing the results of model training and inference.
- TwitterGenderPredictor by jtwool - Does what it says. Has a simple package wrapper by Shay Palachy.
- Tools by Alan Ritter - Several Twitter-related tools by Alan Ritter.
- Learning Multiview Embeddings of Twitter Users
- Developing Age and Gender Predictive Lexica over Social Media, 2014 - We derive predictive lexica (words and weights) for age and gender using regression and classification models from word usage in Facebook, blog, and Twitter data with associated demographiclabels. The lexica, made publicly available, achieved state-of-the-art accuracy in language based age and gender prediction over Facebook and Twitter, and were evaluated for generalization across social media genres as well as in limited message situations.
- Predicting the Demographics of Twitter Users from Website Traffic Data
- Inferring Perceived Demographics from User Emotional Tone and User-Environment Emotional Contrast
- Mining User Interests to Predict Perceived Psycho-Demographic Traits on Twitter
- Why Gender and Age Prediction from Tweets is Hard: Lessons from a Crowdsourcing Experiment
- Who tweets? deriving the demographic characteristics of age, occupation and social class from twitter user meta-data
- Twitter sentiment analysis using Python and NLTK
- 72 Hours of #Gamersgate
- A beginner's guide to collecting Twitter data (and a bit of web scraping)
- Please check for duplicates first.
- Keep descriptions short, simple and unbiased.
- Please make an individual commit for each suggestion
- Add a new category if needed.
- For datasets, please keep the format when possible: The license, when known, is given in {curly brackets}. Dataset size is given in [square brackets] when available.
Thank you for your suggestions!
To the extent possible under law, Shay Palachy has waived all copyright and related or neighboring rights to this work.