Skip to content

nacnudus/google-location-coronavirus

Repository files navigation

Google Location data during the Covid-19 period

Google now publishes official CSV files

Archive of data extracted from Google’s Community Mobility Reports. All countries are included.

Last updated on the 16th of April 2020, with data up to the 11th of April 2020.

Data Quality

The onus is on you to check against the original PDF files, but this should be okay to use. Previous problems have been fixed. It has been checked against similar work by the Office for National Statistics Data Science Campus.

Countries by category

Illustration of the data only. Google recommends against comparing changes between countries or regions.

Location accuracy and the understanding of categorized places varies from region to region, so we don’t recommend using this data to compare changes between countries, or between regions with different characteristics (e.g. rural versus urban areas).

Data download

Download zipped tab-separated files of the countries or United States counties. Google publishes the data as a sliding window, so some dates appear in several reports, and recent reports only include recent dates. These files cover all dates reported so far, and keep only the latest version of each data point.

Files for each report are also available, named by the date of the report, for example 2020-03-29-country.tsv for countries and 2020-03-29-regions.tsv for (so far) United States counties.

Method

Based on similar work by the Office for National Statistics Data Science Campus.

  1. Convert the PDF files to SVG format, and extract the trend lines.
  2. Extract text from the PDF.
  3. Pair up the text with the trends.

The differences are:

  1. All countries are included.
  2. Using R, instead of Python
  3. Scripting pdf->svg file conversion with pdf2svg, rather than doing it manually.

Related work

About

Data from Google's Covid-19 Mobility Report

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages