Read in disease process parameters from an external file or files
read_disease_parameters.Rd
Read in disease process parameters from an external file or files
Usage
read_disease_parameters(
generation_interval_path,
delay_interval_path,
right_truncation_path,
disease,
as_of_date,
group,
report_date
)
Arguments
- generation_interval_path, delay_interval_path, right_truncation_path
Path to a local file with the parameter PMF. See read_interval_pmf for details on the file schema. The parameters can be in the same file or a different file.
- disease
One of
COVID-19
orInfluenza
- as_of_date
Use the parameters that were used in production on this date. Set for the current date for the most up-to-to date version of the parameters and set to an earlier date to use parameters from an earlier time period.
- group
An optional parameter to subset the query to a parameter with a particular two-letter state abbrevation. Right now, the only parameter with state-specific estimates is
right_truncation
.- report_date
An optional parameter to subset the query to a parameter on or before a particular
report_date
. Right now, the only parameter with report date-specific estimates isright_truncation
. Note that this is similar to, but different fromas_of_date
. Thereport_date
is used to select the particular value of a time-varying estimate. This estimate may itself be regenerated over time (e.g., as new data becomes available or with a methodological update). We can pull the estimate for datereport_date
as generated on dateas_of_date
.