Description Usage Arguments Details Value
The mobility data currently in use is the Google mobility data, stored in the
va_mobility_daily
dataset.
1 | local_mobility(locality, scenario = NULL)
|
locality |
Name of the locality to extract |
scenario |
Future mobility scenario to use. If |
The mobility dataset has columns for retail, grocery, parks, transit, work, and
home categories. (The latter is actually inversely related to mobility, since
it represents staying at home.) The default is to use the 'home' column, but
this can be changed by setting the option CovMitigation.mobility_column
.
Setting the mobility category via an option is manifestly a terrible idea, since the mobility column used is not recorded anywhere in the output. Once we decide which category best captures the effect that we are after, we will set that column as the default and disable the set-by-option capability
A list with two vectors, t
and mobility
, in that
order.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.