Data from Google's Community Mobility Reports on relative changes in movement trends by location type.

google_mobility

Format

A data frame with 27,094,812 rows and 11 variables:

country_region_code

character Country Code

country_region

character Country or Region name

sub_region_1

character Subregion (e.g. US state) name

sub_region_2

character Subregion (e.g. US county) name

metro_area

Metropolitan area name

iso3166_2

character ISO 3166-2 Country/Region code

census_fips_code

character US Census FIPS code

place_id

character Place ID (hashed)

date

double Date in yyyy-mm-dd format

type

character Type of location. Values are retail, grocery (and pharmacy), parts, transit (hubs/stations), workplaces, and residential

pct_diff

integer Percent change from baseline activity

Source

Google LLC "Google COVID-19 Community Mobility Reports." https://www.google.com/covid19/mobility/ Accessed: 2021-03-09

Details

Table: Data summary

Namegoogle_mobility
Number of rows27094812
Number of columns11
_______________________
Column type frequency:
Date1
character9
numeric1
________________________
Group variablesNone

Variable type: Date

skim_variablen_missingcomplete_rateminmaxmediann_unique
date012020-02-152021-03-052020-09-01385

Variable type: character

skim_variablen_missingcomplete_rateminmaxemptyn_uniquewhitespace
country_region_code172441.002201340
country_region01.0042201350
sub_region_14598580.98374018600
sub_region_245005340.83256099150
metro_area269454720.0121340650
iso3166_2222587700.1846022240
census_fips_code213364140.2155028380
place_id489121.0027270132490
type01.00511060

Variable type: numeric

skim_variablen_missingcomplete_ratemeansdp0p25p50p75p100hist
pct_diff101311300.63-13.0231.05-100-31-1051206▇▁▁▁▁

Location accuracy and the understanding of categorized places varies from region to region, so Google does not recommend using this data to compare changes between countries, or between regions with different characteristics (e.g. rural versus urban areas). Regions or categories are omitted if Google does not have have sufficient statistically significant levels of data for it. Changes for each day are compared to a baseline value for that day of the week. The baseline is the median value, for the corresponding day of the week, during the 5-week period Jan 3–Feb 6, 2020. What data is included in the calculation depends on user settings, connectivity, and whether it meets our privacy threshold. If the privacy threshold isn’t met (when somewhere isn’t busy enough to ensure anonymity) we don’t show a change for the day. As a result, you may encounter empty fields for certain places and dates. We calculate these insights based on data from users who have opted-in to Location History for their Google Account, so the data represents a sample of our users. As with all samples, this may or may not represent the exact behavior of a wider population. Google updated the way we calculate changes for Groceries & pharmacy, Retail & recreation, Transit stations, and Parks categories. For regions published before May 2020, the data may contain a consistent shift either up or down that starts between April 11–18, 2020. On October 5, 2020, Google added an improvement to the dataset to ensure consistent data reporting in the Groceries & pharmacy, Retail & recreation, Transit, Parks, and Workplaces categories. The update applies to all regions, starting on August 17, 2020. For more detailed information on considerations to bear in mind before using this data, see this overview from Google.

Author

Kieran Healy