An open repository of real-time COVID-19 indicators

Alex Reinhart, Logan Brooks, Maria Jahja, Aaron Rumack, Jingjing Tang, Sumit Agrawal, Wael Al Saeed, Taylor Arnold, Amartya Basu, Jacob Bien, Ángel Alexander Cabrera, Andrew I. Chin, Eu Jing Chua, Brian Clark, Sarah Colquhoun, Nat DeFries, David Farrow, Jodi Forlizzi, Jed Grabman, Samuel Gratzl, Alden Green, George Haff, Robin Han, Kate Harwood, Addison J. Hu, Raphael Hyde, Sangwon Hyun, Ananya Joshi, Jimi Kim, Andrew Kuznetsov, Wichada La Motte‐Kerr, Yeonjin Lee, Kenneth Lee, Zachary C. Lipton, Michael X. Liu, Lester Mackey, Kathryn Mazaitis, Daniel J. McDonald, Phillip McGuinness, Balasubramanian Narasimhan, Michael P. O’Brien, Natalia L. Oliveira, Pratik Patil, Adam Perer, Collin A. Politsch, Samyak Rajanala, Dawn Rucker, Chris Scott, Nigam H. Shah, Vishnu Shankar, James Sharpnack, Dmitry Shemetov, Noah Simon, Benjamin Y. Smith, Vishakha Srivastava, Shuyi Tan, Robert Tibshirani, Elena Tuzhilina, Ana Karina Van Nortwick, Valérie Ventura, Larry Wasserman, Benjamin Alan Weaver, Jeremy C. Weiss, Spencer Whitman, Kristin Williams, Roni Rosenfeld, Ryan J. Tibshirani

Abstract

The COVID-19 pandemic presented enormous data challenges in the United States. Policy makers, epidemiological modelers, and health researchers all require up-to-date data on the pandemic and relevant public behavior, ideally at fine spatial and temporal resolution. The COVIDcast API is our attempt to fill this need: operational since April 2020, it provides open access to both traditional public health surveillance signals (cases, deaths, and hospitalizations) and many auxiliary indicators of COVID-19 activity, such as signals extracted from de-identified medical claims data, massive online surveys, cell phone mobility data, and internet search trends. These are available at a fine geographic resolution (mostly at the county level) and are updated daily. The COVIDcast API also tracks all revisions to historical data, allowing modelers to account for the frequent revisions and backfill that are common for many public health data sources. All of the data is available in a common format through the API and accompanying R and Python software packages. This paper describes the data sources and signals, and provides examples demonstrating that the auxiliary signals in the COVIDcast API present information relevant to tracking COVID activity, augmenting traditional public health reporting and empowering research and decision-making.

Introduction

During the height of the COVID-19 pandemic, decision-makers faced a "fog of war" regarding data. Official reports on cases and deaths were often delayed, inconsistently formatted across states, and subject to massive retrospective revisions (backfill). For researchers and modelers, this creates a major problem: training a model on "finalized" data from the past ignores the reality that this data was not available at the time of prediction. To build models that work in the real world, one must know what the data looked like on the day the prediction was made. The Delphi Group at Carnegie Mellon University introduced the COVIDcast API to solve these issues of fragmentation, latency, and the lack of a "paper trail" for data revisions.

Methods

The authors built a pipeline to ingest, standardize, and distribute over 170 signals from 12 distinct sources. Key technical contributions include:

  • Common Schema: Every record is standardized to a (signal, time, location) format using FIPS codes for geography.
  • Signal Processing: The team applies non-trivial post-processing, such as using regression to remove "day-of-week" effects and 7-day trailing averages to smooth noise.
  • Dual-Dating (Revision Tracking): This is the core innovation. Every observation is tagged with two dates: the time_value (when the event happened) and the issue_date (when the data was reported). This allows users to "rewind" the database to see exactly what was known on a specific past date, preventing hindsight bias.
  • Software Ecosystem: Dedicated R and Python packages (covidcast) make this data immediately actionable for data scientists.

Datasets and Signals

The API serves as a bridge between proprietary "digital exhaust" and public records, providing a wide array of indicators at fine geographic resolution.

Summary of major data sources and signals available in the COVIDcast API, detailing their first date of availability and geographic resolution.

Key data sources include:

  • Auxiliary Signals: De-identified medical insurance claims (via Change Healthcare), COVID-19 antigen test results (via Quidel), and Google search trends.
  • The CTIS Survey: In partnership with Facebook, the authors ran a massive daily survey (over 25 million responses) tracking symptoms, masking behavior, and vaccine hesitancy.
  • Mobility Data: Aggregated smartphone movement patterns via SafeGraph.
  • Public Mirrors: Standardized versions of data from JHU CSSE, USAFacts, and the CDC/HHS.

Key Insights and Results

The authors conceptualize COVID-19 indicators as a severity pyramid. At the base are "leading" indicators like mobility and survey-based symptoms. As one moves up through outpatient visits and hospitalizations to deaths (the "lagging" indicators), the data becomes more specific but also more delayed.

Key findings include:

  • The "Wisdom of Neighbors": The "CLI-in-community" indicator—asking survey respondents if they know someone who is sick—proved to be a more stable and accurate leading indicator than self-reporting.
  • Reporting Robustness: Auxiliary signals are often immune to the "glitches" of official reporting. When a county reports a massive backlog of cases due to technical error, survey and claims data remain steady, providing a vital sanity check.
  • Predictive Power: Survey-based "willingness to vaccinate" in January 2021 was a strong predictor of actual vaccine uptake in July 2021.
  • Revision Impact: The paper demonstrates that "final" values can differ from "initial" reports by over 10%. Models trained on "as-of" data perform more realistically than those trained on finalized data.

Limitations and Future Work

Despite its breadth, the repository has limitations. Internet-based surveys and app-based mobility data may underrepresent certain populations, such as the elderly. Medical claims data depends on the market share of data partners in specific regions, leading to geographic inconsistencies. Furthermore, even "real-time" data is subject to holiday effects requiring seasonal adjustment. Future directions include building automated "nowcasting" models that use auxiliary signals to predict the eventual revised value of official case counts before they are published.

Summary updated

BibTeX
@inproceedings{reinhart2021open,
  author = {Alex Reinhart and Logan Brooks and Maria Jahja and Aaron Rumack and Jingjing Tang and Sumit Agrawal and Wael Al Saeed and Taylor Arnold and Amartya Basu and Jacob Bien and Ángel Alexander Cabrera and Andrew I. Chin and Eu Jing Chua and Brian Clark and Sarah Colquhoun and Nat DeFries and David Farrow and Jodi Forlizzi and Jed Grabman and Samuel Gratzl and Alden Green and George Haff and Robin Han and Kate Harwood and Addison J. Hu and Raphael Hyde and Sangwon Hyun and Ananya Joshi and Jimi Kim and Andrew Kuznetsov and Wichada La Motte‐Kerr and Yeonjin Lee and Kenneth Lee and Zachary C. Lipton and Michael X. Liu and Lester Mackey and Kathryn Mazaitis and Daniel J. McDonald and Phillip McGuinness and Balasubramanian Narasimhan and Michael P. O’Brien and Natalia L. Oliveira and Pratik Patil and Adam Perer and Collin A. Politsch and Samyak Rajanala and Dawn Rucker and Chris Scott and Nigam H. Shah and Vishnu Shankar and James Sharpnack and Dmitry Shemetov and Noah Simon and Benjamin Y. Smith and Vishakha Srivastava and Shuyi Tan and Robert Tibshirani and Elena Tuzhilina and Ana Karina Van Nortwick and Valérie Ventura and Larry Wasserman and Benjamin Alan Weaver and Jeremy C. Weiss and Spencer Whitman and Kristin Williams and Roni Rosenfeld and Ryan J. Tibshirani},
  title = {{An open repository of real-time COVID-19 indicators}},
  booktitle = {Proceedings of the National Academy of Sciences},
  year = {2021},
  doi = {10.1073/pnas.2111452118},
}
Figure