Apply a set of travel restrictions to the travel data, reducing or increasing to a proportion of the average travel.
1 | apply_travel_restrictions(travel_data, travel_restrictions_long)
|
travel_data |
Data.frame. Daily travel data that was previously built. We replace the travelers column in this. |
travel_restrictions_long |
Data.frame. Daily travel restrictions, including dates, source location, and proportion of cases. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.