Skip to contents

Download and format data for RSV dynamic transmission model (function). The function returns a list of 3 items. These will be used in the fit_model() function

Usage

get_data(state_or_county, state_abbr, county_name)

Arguments

state_or_county

describe if you are modeling a "state" or a "county"

state_abbr

The two letter state abbreviation (you need this even if you are modeling a county)

county_name

The name of the county (if modeling a state list NULL here)

Value

a list of values

Examples

data_california = get_data(state_or_county="state",state_abbr="CA",county_name=NULL)
#> Using the Vintage 2022 Population Estimates
#> Using the Vintage 2022 Population Estimates
data_kingcounty = get_data(state_or_county="county",state_abbr="WA",county_name="King")
#> Using the Vintage 2022 Population Estimates
#> Using the Vintage 2022 Population Estimates