Description Usage Arguments Value
An integrated solution, combining all functions in one step to calculate the risk score for each POI
1 | main(file_1, file_2, file_3, poi, open_hours, case_death_table, testing_table)
|
file_1 |
SafeGraph weekly patterns dataset (week 1) |
file_2 |
SafeGraph weekly patterns dataset (week 2) |
file_3 |
SafeGraph weekly patterns dataset (week 3) |
poi |
SafeGraph POI dataset, plus city/community and infection rate of each POI (the output of function calculate_infection_rate) |
open_hours |
The dataset containing open hours from Monday to Sunday for each POI |
case_death_table |
The community case and death table downloaded from http://dashboard.publichealth.lacounty.gov/covid19_surveillance_dashboard/ |
testing_table |
The community testing table downloaded from http://dashboard.publichealth.lacounty.gov/covid19_surveillance_dashboard/ |
The final risk score dataframe
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.