visitors_to_agents: Convert safegraph visitor panel to agents

Description Usage Arguments Value

View source: R/Network_Mvmt_Functions.R

Description

takes number of visitors from county to ct and converts to a data table of agents to merge with resident agents. Assumes agents spend time in community and are either infected or not. All other characteristics left NA

Usage

1
visitors_to_agents(visits_dt, visitor_mult_testing, visitor_mult_sfgrph)

Arguments

visits_dt

data.table of visitors to census tracts/block groups

visitor_mult_testing

multiplier on true infection rate of visitorsto account for fact that not all infections are tested

visitor_mult_sfgrph

multiplier on true number of visitors to account for fact that not all people are captured in safegraph paenel data

Value

dataframe of visiting agents to append to regular agents


cmhoove14/LEMMAABMv4 documentation built on Nov. 1, 2021, 10:23 p.m.