get_google_mobility: Get Latest Mobility Data from Google

Description Usage Arguments Details Value References

View source: R/mobility-data.R

Description

This dataset is intended to help remediate the impact of COVID-19. It shouldn’t be used for medical diagnostic, prognostic, or treatment purposes. It also isn’t intended to be used for guidance on personal travel plans. Each Community Mobility Report dataset is presented by location and highlights the percent change in visits to places like grocery stores and parks within a geographic area. 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). We’ll leave a region or category out of the dataset if we don’t have sufficient statistically significant levels of data.

Usage

1
2
3
4
5
get_google_mobility(
  admin = c("county", "state", "country", "all"),
  us_only = TRUE,
  summarise_nyc = TRUE
)

Arguments

admin

character. Geographic level of the observations. One of county, state, country, or all.

us_only

logical. If TRUE return results only within the United States. Default is TRUE

summarise_nyc

logical. If FALSE do not conflate the 5 New York City Boroughs. Default is TRUE. Conflation is done by taking the median value of each attributes across the 5 Boroughs

Details

These datasets show how visits and length of stay at different places change compared to a baseline. We calculate these changes using the same kind of aggregated and anonymized data used to show popular times for places in Google Maps.

Changes for each day are compared to a baseline value for that day of the week:

Value

df data frame of percent change in visits to places like grocery stores and parks within a geographic area.

References

Google LLC "Google COVID-19 Community Mobility Reports." https://www.google.com/covid19/mobility/ Accessed: <Date>.


nset-ornl/covidmodeldata documentation built on June 3, 2020, 2:46 a.m.