main: Calculate the risk score, an integrated solution

Description Usage Arguments Value

View source: R/functions.R

Description

An integrated solution, combining all functions in one step to calculate the risk score for each POI

Usage

1
main(file_1, file_2, file_3, poi, open_hours, case_death_table, testing_table)

Arguments

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/

Value

The final risk score dataframe


Yueyang-Li-Elfa/COVIDrisk documentation built on July 25, 2020, 12:48 a.m.