Giter VIP home page Giter VIP logo

covid19_one_hundred_million_unique_tweets's Introduction

covid19_one_hundred_million_unique_tweets

Last Updated: June 11th, 2020

Data Description


Tweets related to the coronavirus outbreak have been collected from Twitter's search API nightly since January 17th, 2020. As of 04/20/2020, over 100 000 000 unique tweets have been collected.

The raw tweet data can't be released, and per Twitter's developer terms, only tweet IDs are released.

To faciliate research without having to hydrate every single tweet, the following have been generated and included in their respective folders, and will continue to be generated for each day:

  • unigrams
  • bigrams
  • trigrams
  • language counts
  • hashtag counts

Statistics are generated by day allowing for mapping to say, a timeline, while also allowing for aggregate analyses.

Only the 95th percentile of n-gram counts are kept for each day. Partly due to GitHub file limitations, and partly to filter out junk.

NOTES: Tweets are unique in the sense that:

  • There are no retweets, any retweets captured will be the 'conventional' retweet, ie. manually typing in 'RT @'.
  • This will not pick up on a identical tweets which different in the shortened twitter link (considered spam?)
  • Tweet IDs have been deduplicated, by day. It is possible there are overlap of tweets from the start of one day and the previous day.

Statistics

As of 06-01-2020 there are a total of 147,003,058 tweet IDs.

tweets_by_date

Language Breakdown:

lang

Notes


May 17, 2020

  • January 17th - April 20th, broke 100 000 000 tweets
  • On February 11th, the search query was changed to to include the official WHO designation of the virus as 'covid-19'.
  • To better facilitate the pipelining process, python and thus tweepy was considered but after a few nights spent with the package, it did not appear to be utilizing the increased rate limit of a bearer token. Given the escalating situation and the corresponding increase in the number of tweets, I stuck with rtweet, which did honour the rate limit.

Rehydrating Tweets


To obtain all metadata associated with a tweet, the tweet IDs need to be hydrated ie. the full tweet text and any metadata associated with it must be requested through Twitter's API using one of many available tools:

  • [GUI] - Hydrator
    • One can combine several files before uploading a dataset for hydration, eg. cat co19-*.csv > combined_tweet_ids.csv
  • [Python / CLI] - twarc

Known Gaps


  • March 16th 00:00 - 07:00 UTC (dig through backups?)

Contact


For any questions or suggestions please create an issue or contact me at so.delvin[ @ ] gmail [ dot ]com

TODO


  • tweets by coordinates, by day
  • floor_date instead of round_date
  • label tweet ids by language to allow for granular filtering

covid19_one_hundred_million_unique_tweets's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.