data_load_process_wrapper
data_load_process_wrapper.Rd
Load and Process All Model Input Data
Usage
data_load_process_wrapper(
iso,
disease,
R0,
cfr_off = TRUE,
year_start = "",
year_end = "",
WHO_seed_switch = TRUE,
aggregate_age = TRUE,
new_age_breaks = c(0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80,
Inf)
)
Arguments
- iso
A 3-letter ISO country code identifying the country for analysis (e.g., "ETH" for Ethiopia).
- disease
A character string specifying the disease of interest (e.g., "measles", "diphtheria", "pertussis").
- R0
Numeric scalar or vector specifying the basic reproduction number, defining disease transmissibility.
- cfr_off
Logical; Sets the CFR to zero. Used when calculating current susceptibility as prior mortality rates will already include disease specific mortality.
- year_start
Optional numeric value specifying the first year of the simulation window. Default ("") uses the earliest available data year.
- year_end
Optional numeric value specifying the last year of the simulation window. Default ("") uses the latest available data year.
- WHO_seed_switch
Logical indicating whether to use WHO-style seeding to replicate historical case-reporting patterns (default is `TRUE`).
- aggregate_age
Logical indicating whether to aggregate data from single-year age groups into custom age intervals (default is `TRUE`).
- new_age_breaks
Numeric vector specifying the breakpoints used to aggregate single-year age groups into broader age bands. Default is `c(0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, Inf)`.
Value
A named list containing structured parameters ready for use in the PREVAIL dynamic transmission model.
Details
This wrapper function loads internal datasets and processes them into structured model input parameters for a specified country, disease, and vaccine. It integrates demographic, vaccination, and disease data, formatting them appropriately for use in the dynamic transmission model within PREVAIL.