arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1306.5204cs.SIphysics.soc-ph
收藏

样品足够好吗?Twitter的流媒体API与Twitter的Firehose的数据比较

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

摘要:

Twitter是一家社交媒体巨头,以交换简短的140个字符的消息而闻名,称为“tweets”。在科学界,微博网站以分享数据的开放性而闻名。它通过一个"Streaming API"提供了数百万用户和数十亿推文的一瞥,该API提供了与API用户预设的一些参数相匹配的所有推文的样本。API服务已被许多研究人员,公司和政府机构使用,他们希望根据与社交媒体有关的各种问题提取知识。Twitter API的主要缺点是缺乏关于用户获得什么和多少数据的文档。这导致研究人员质疑采样数据是否有效地代表了Twitter上的整体活动。在这项工作中,我们开始回答这个问题,通过比较使用Twitter的采样API服务收集的数据与使用完整的数据收集的数据,虽然昂贵,Firehose流,包括每一个发布的推文。我们使用常见的统计指标以及允许我们比较主题,网络和推文位置的指标来比较这两个数据集。我们的工作结果将帮助研究人员和从业者理解使用Streaming API的含义。

英文摘要:

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. 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑