Is the Sample Good Enough? Comparing Data from Twitter's Streaming API with Twitter's Firehose

Fred Morstatter, Jürgen Pfeffer, Huan Liu, Kathleen M. Carley
6/21/2013
1,053 citations
cs.SIphysics.soc-ph

No confident code implementation found for this paper.

Abstract

Twitter is a social media giant famous for the exchange of short, 140-character messages called "tweets". In the scientific community, the microblogging site is known for openness in sharing its data.

Show full abstract

It provides a glance into its millions of users and billions of tweets through a "Streaming API" which provides a sample of all tweets matching some parameters preset by the API user. The API service has been used by many researchers, companies, and governmental institutions that want to extract knowledge in accordance with a diverse array of questions pertaining to social media. The essential drawback of the Twitter API is the lack of documentation concerning what and how much data users get. This leads researchers to question whether the sampled data is a valid representation of the overall activity on Twitter. In this work we embark on answering this question by comparing data collected using Twitter's sampled API service with data collected using the full, albeit costly, Firehose stream that includes every single published tweet. We compare both datasets using common statistical metrics as well as metrics that allow us to compare topics, networks, and locations of tweets. The results of our work will help researchers and practitioners understand the implications of using the Streaming API.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{morstatter2013sample,
  title  = {Is the Sample Good Enough? Comparing Data from Twitter's Streaming API with Twitter's Firehose},
  author = {Fred Morstatter and Jürgen Pfeffer and Huan Liu and Kathleen M. Carley},
  year   = {2013},
  eprint = {1306.5204},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1306.5204}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1306.5204.svg)](https://codeofpaper.com/paper/1306.5204)

Discussion