Skip to content

COVID-19 Mobility Data Aggregator. Scraper of Google, Apple, Waze and TomTom COVID-19 Mobility Reports🚶🚘🚉

License

Notifications You must be signed in to change notification settings

ActiveConclusion/COVID19_mobility

Repository files navigation

Buy Me A Coffee

COVID-19 Mobility Data Aggregator (Archived)

⚠️ Project Status: Archived ⚠️

This project is no longer actively maintained, and the data reports within this repository are NOT being updated.

  • Google Reports: Last updated by Google on 2022-10-15.
  • Apple Reports: Last updated by Apple on 2022-04-14.
  • Waze Reports: Last updated by Waze around July 2022.
  • TomTom Reports: While TomTom continues to update their index, this project's scraper for TomTom data is archived. The historical data collected here remains available.

This repository preserves the data and tools used to aggregate these reports.

Project Overview

This repository originally served as an automated scraper and data aggregator for key COVID-19 mobility reports from Google, Apple, Waze, and TomTom. As these official reports were discontinued or changed, this project transitioned into an archive of historical mobility data spanning from early 2020 to mid/late 2022.

The collected datasets provide valuable insights into human mobility patterns during the COVID-19 pandemic and can be used for:

  • Academic research and historical analysis
  • Understanding the impact of public health interventions
  • Developing retrospective models

Table of Contents

  1. About the Original Data Sources
  2. Available Datasets
  3. Using the Original Scraper Scripts
  4. Contributing
  5. Showcases

About the Original Data Sources

This section details the data sources that were aggregated by this project. Note the archival status for each.

Google COVID-19 Community Mobility Reports

  • Source: google.com/covid19/mobility
  • Description: Google published these reports to show movement trends over time by geography, across categories like retail, parks, transit, workplaces, and residential areas.
  • Archival Status: Google stopped updating these reports on 2022-10-15.
  • Terms: By using this data, you agree to Google's Terms of Service.

Apple COVID-19 Mobility Trends Reports

  • Source: apple.com/covid19/mobility
  • Description: Apple provided CSV data showing relative volume of direction requests compared to a baseline from January 13th, 2020.
  • Archival Status: Apple stopped providing these reports on April 14, 2022.
  • Terms: By using this data, you agree to Apple's terms.

Waze COVID-19 Local Driving Trends

  • Source: waze.com/covid19
  • Description: Waze shared aggregated, anonymized data on driven kilometers/miles as a percent change compared to a baseline (Feb 11-25, 2020).
  • Archival Status: The Waze dashboard was retired and stopped updating in July 2022.

TomTom Traffic Index

  • Source: tomtom.com/en_gb/traffic-index
  • Description: Ranks urban congestion worldwide, showing how much extra travel time is caused by congestion compared to baseline free-flow conditions.
  • Archival Status: TomTom continues to update their index. However, the scraper scripts in this repository are archived. The historical data collected by this project remains available.

Available Datasets

Access the collected and processed data files stored within this repository.

Google Reports Data

Apple Reports Data

Waze Reports Data

TomTom Reports Data

Summary Reports Data

Merged data from Apple and Google reports.

Using the Original Scraper Scripts

These instructions are for running the scraper scripts as they were. Be aware that the original data sources may have changed or are no longer accessible, so these scripts are primarily for historical reference or to understand the data collection methodology.

Installation

A Python 3.x environment is required. Using a virtual environment is highly recommended:

# Clone the repository
git clone [https://github.com/ActiveConclusion/COVID19_mobility.git](https://github.com/ActiveConclusion/COVID19_mobility.git)
cd COVID19_mobility

# Create and activate a virtual environment (optional but recommended)
# python -m venv venv
# source venv/bin/activate  # On Windows use `venv\Scripts\activate`

# Install dependencies
pip install -r requirements.txt

Usage

# scrape data from specified sources. If no sources are provided, data will be scraped from all available sources
python scraper.py scrape <SOURCES>

# merge mobility reports (Apple and Google)
python scraper.py merge

# Scrape data from all sources and merge reports
python scraper.py run-all

A Jupyter notebook version of the scraper logic is also available for review.

Contributing

Even though this project is archived, your input is still valuable:

  • Report Issues: If you find inaccuracies in the archived data or problems with the scraper scripts (even for historical context).
  • Share Your Work: If you use this data for research, analysis, or visualizations, please consider adding it to the "Showcases" section!
  • Improve Documentation: Suggestions for clarifying this README or other documentation are welcome.

Please open an issue to discuss changes or report problems. The original discussion thread for use cases is here.

Showcases

A collection of dashboards, visualizations, articles, and research that have utilized the data from this aggregator.

Dashboards and Visualizations Based on These Data

  1. State-by-State COVID-19 Mobility Changes by Karl E
  2. State by state mobility trends
  3. COVID-19 Community Mobility by Ryan Soares
  4. Balefire COVID-19 USA Data Explorer
  5. Pandemic Traffic in Ireland by David ó Cinnéide
  6. New South Wales COVID Tracking Dashboard by Damjan Vlastelica
  7. Global COVID Vital Signs
  8. Toronto After The First Wave. Mobility Dashboard
  9. Your great dashboard/visualization could be here! Please open an issue or pull request to add it.

Articles and research publications

  1. Is Your Community Doing Enough To Fight COVID-19? by Molly Ruby
  2. COVID-19: Country progress tracker and forward projections
  3. Krekel, C., Swanke, S., De Neve, J., & Fancourt, D. (2020). Are Happier People More Compliant? Global Evidence From Three Large-Scale Surveys During Covid-19 Lockdowns.
  4. Guinigundo, D. C. Green shoots and mobility: Philippine economic prospects.
  5. Franks J, Gruss B, Mulas-Granados C, et al. (2022). Reopening strategies, mobility and COVID-19 infections in Europe: panel data analysis. BMJ Open. doi:10.1136/bmjopen-2021-055938
  6. Godøy, A., Weemes Grøtting, M. (2022). Implementation and economic effects of local non-pharmaceutical interventions. medRxiv. doi:https://doi.org/10.1101/2022.02.10.22270783
  7. Strzelecki, A., Azevedo, A., Rizun, M., et al. (2022). Human Mobility Restrictions and COVID-19 Infection Rates: Analysis of Mobility Data and Coronavirus Spread in Poland and Portugal. Int. J. Environ. Res. Public Health. https://doi.org/10.3390/ijerph192114455
  8. Bublyk, M., Feshchyn, V., Bekirova, L., & Khomuliak, O. (2022). Sustainable Development by a Statistical Analysis of Country Rankings by the Population Happiness Level. COLINS.
  9. Yek C, Kadri SS. Massachusetts Data on Excess Mortality During the Delta and Omicron Waves of COVID-19. JAMA. 2022;328(19):1977. doi:10.1001/jama.2022.16729
  10. Pribylova, Lenka & Eclerová, Veronika & Májek, Ondřej & Jarkovsky, Jiri & Pavlík, Tomáš & Dusek, Ladislav. (2023). Using real-time ascertainment rate estimate from infection and hospitalization dataset for modeling the spread of infectious disease: COVID-19 case study in the Czech Republic. PLOS ONE. 18. e0287959. 10.1371/journal.pone.0287959.
  11. Wang, F., Ban, X. (Jeff), Chen, P., Liu, C., & Zhao, R. (2024). Mitigating biases in big mobility data: a case study of monitoring large-scale transit systems. Transportation Letters, 17(4), 762–775. https://doi.org/10.1080/19427867.2024.2379703
  12. Manzini R, Battarra I, Lupi G, Pham H. An Investigation of the Impact of Anti-Epidemic Measures and Non-Pharmaceutical Interventions on Mitigating the Spread of the COVID-19 Pandemic. Applied Sciences. 2025; 15(3):1115. https://doi.org/10.3390/app15031115
  13. Zarbakhsh, Negin & McArdle, Gavin. (2022). PREDICTING TRAFFIC CONGESTION DURING COVID19 USING HUMAN MOBILITY AND STREET-WASTE FEATURES. ISPRS Annals of the Photogrammetry, Remote Sensing and Spatial Information Sciences. X-4/W3-2022. 301-308. 10.5194/isprs-annals-X-4-W3-2022-301-2022.
  14. Krekel, C., Swanke, S., De Neve, JE. et al. Happiness predicts compliance with preventive health behaviours during Covid-19 lockdowns. Sci Rep 13, 7989 (2023). https://doi.org/10.1038/s41598-023-33136-9
  15. Your article/research could be featured here! Please open an issue or pull request to share your work.

About

COVID-19 Mobility Data Aggregator. Scraper of Google, Apple, Waze and TomTom COVID-19 Mobility Reports🚶🚘🚉

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •