COVID-19 Digital Observatory



This page documents a digital observatory project that aims to collect, aggregate, distribute, and document public social data from digital communication platforms in relation to the 2019–20 coronavirus pandemic. The project is being coordinated by the Community Data Science Collective and Pushshift.

Overview and objectives
As people struggle to make sense of the COVID-19 pandemic, many turn to social media and social computing systems to share information, to understand what's happening, and to find new ways to support one another. As scholars, scientists, technologists, and concerned members of the public, we are building a digital observatory to understand where and how people are talking about COVID-19-related topics. The observatory collects, aggregates, and distributes social data related to how people are responding to the ongoing public health crisis of COVID-19. The public datasets and freely licensed tools, techniques, and knowledge created through this project will allow researchers, practitioners, and public health officials to more efficiently gather, analyze, understand, and act to improve these crucial sources of information during crises.

Everything here is a work in progress as we get the project running, create communication channels, and start releasing datasets. Learn how you can stay connected, use our resources as we produce them, and get involved below.

Stay connected
Subscribe to our low traffic announcement mailing list. You can fill out the form on the list website or email [mailto:covid19-announce-request@communitydata.science covid19-announce-request@communitydata.science] with the word 'help' in the subject or body (don't include the quotes). You will get back a message with instructions.

The email list will contain occasional updates, information about new datasets, partnerships, and so on. We will not use the list or email addresses for other purposes.

Access Data and Code
The digital observatory data, code, and other resources will exist in a few locations, all linked from this page. More details on the different datasets and sources follow below. Our initial releases should provide a good starting point for investigating social computing and social media content related COVID-19. On the code side, we plan to release and invite collaboration on all of the materials used to collect, parse, and publish our datasets. On the data side, we will start by providing static datasets (in raw text and structured formats like csv and JSON) from Wikipedia as well as search engine results pages (SERPs) for a set of searches on COVID-19 relevant terms. We are also releasing a list of keywords generated by daily Google search trends, Wikidata entities, and translations into many languages based on Wikidata entity links. We plan to expand these offerings with new material including data from Twitter, Reddit, and localized content specific to particular geographic regions. We also plan to build infrastructure to provide rapid and frequent updates of datasets in a variety of forms.

Code
For code used to produce the data and get started with analysis we have a github repository where almost everything lives. If you want to get involved or start using our work please clone the repository! You'll find example analysis scripts that walk through downloading data directly into something like R and producing some minimal analysis to help you get started.

The code used to generate the search engine results pages (SERP) data come from Nick Vincent's SERP scraping project.

Data
The best way to find the data is to visit https://covid19.communitydata.science/datasets/. The  directory contains compressed raw data generated by Nick Vincent's SERP scraping project. The  directory has view counts for Wikipedia pages of COVID19-related articles in   and   format. The  directory has   files with COVID-19 related keywords translated into many languages and associated Wikidata item identifiers.

Search Engine Results Pages (SERP) Data
The SERP data in our initial data release includes the first search result page from Google and Bing for a variety of COVID-19 related terms gathered from Google Trends and Google and Bing's autocomplete "search suggestions." Specifically, using a set of six "stem keywords" about COVID-19 and online communities ("coronavirus", "coronavirus reddit", coronavirus wiki", "covid 19", "covid 19 reddit", and "covid 19 wiki"), we collect related keywords from Google Trends (using open source software) and autocomplete suggestions from Google and Bing (using open source software). In addition to COVID 19 keywords, we also collect SERP data for the top daily trending queries. Currently, the SERP data collection process does not specify location in its searches. Consequently, the default location used is the location of our machine, at Northwestern University's Evanston campus. We are working on collecting SERP data with location specified beyond the Chicago area (aka other 'localized' content).

The SERP data is released as a series of compressed archives (7z), one archive per day, that follow the naming convention. Within these compressed archives, there is a folder for each device emulated in the data collection (currently two: Chrome on Windows and iPhone X) which contains all of the respective SERP data. Per each device subdirectory, SERP data itself is organized into folders that are titled by the URL of the search query (e.g. ), and each SERP folder contains three data files:
 * a PNG screenshot of the full first page of results,
 * an mhtml "snapshot" (https://github.com/puppeteer/puppeteer/issues/3658),
 * and a json file with a variety of metadata (e.g. date, the device emulated) and a list of every link () element in the page with its coordinates (top, left, bottom, right) in pixels.

Wikipedia article pages and edit history
Our initial release provides exhaustive edit data for the list of English Wikipedia articles covered by WikiProject Covid-19.

Wikipedia article pageviews
Our initial release provides pageview data for Wikipedia articles related to the covid-19 pandemic, as identified by members of WikiProject Covid-19.

Keywords and search terms
We currently use and provide three different types of keywords and search terms:
 * Article names/topics from Wikipedia's WikiProject Covid-19
 * Wikidata entities generated via the "Main items" described by Wikidata's WikiProject COVID-19
 * Top 25 daily trending search terms from Google and Bing.

We also provide translations of keywords into many languages by collecting translations of labels from Wikidata related to the COVID-19 pandemic. This is done by passing keywords and trending Google "related searches" to the Wikidata search API. The resulting Wikidata items are tagged with labels and aliases in many languages. We hope this provides a useful starting point for searches to discover pandemic related social information in languages beyond English. Code for this part of the project, including examples for loading the data in Python and R, is under `keywords` in our git repository. Similarly, resultant data is under `keywords/csv` on our server.

Get Help Using Data
(more coming soon)

As we develop data collection resources and datasets, we will also provide simple example analysis scripts to demonstrate how you might access, import, and analyze small subsets of the data we produce. For instance, take a look at the "analysis" subdirectory of the wikipedia views section of our Github project.

We plan develop tutorials and demos for the use of the data we release and particularly welcome contributions that help make these resources more easily usable by others. In some cases, the data sources are quite large and might not be suitable for analysis on your personal computer. Wherever possible, we'll try to point you to useful tools to help make this feasible or easier.

Contribute
We are eager for collaborators and committed to working openly.


 * Want to contribute to this wiki? Consider creating an account and be bold!
 * Want to contribute to our datasets and/or analysis code? Clone our github repository and pitch in with pull requests.

Code of Conduct
We ask that all contributors adhere to the Contributor Covenant.

Related projects
This is an incomplete list of related projects, several of which have additional and more comprehensive lists of related projects. Please add more!


 * Social media for public health (Johns Hopkins University + University of Maryland + GWU). Includes a lengthy list of resources and related projects.
 * COVID-19 Containment measures data from the COVID-19 Forecasting project (University of Oxford).
 * Health GeoLab Collaborative listing of (mostly geospatial) data resources related to COVID-19.
 * COVID-19 Infodemics Observatory analyzing Twitter data. Created by the Laboratory of the FBK research unit.
 * Archive team listing of archive sites related to the Coronavirus
 * Repository with data on COVID-19 from the NYC Department of Health and Mental Hygiene (DOHMH)
 * The Citizens and Technology Lab is [tracking COVID-related posts on the Reddit front page (Cornell and J. Nathan Mattias).