calculate_infection_rate: Calculate the infection rate

Description Usage Arguments Value

View source: R/functions.R

Description

Calculate infection rate for each community as well as the entire LA city, and then match them with each POI

Usage

1
2
3
4
5
calculate_infection_rate(
  poi_data = poi,
  case_death_table = case_death_table,
  testing_table = testing_table
)

Arguments

poi_data

SafeGraph POI dataset, plus city/community of 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

A dataframe with columns in POI dataset as well as corresponding infection rate for each POI


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