calculate_impact_from_recipe.Rd
This depends on the DB format of VIMC and so is for internal use only.
calculate_impact_from_recipe(
con,
recipe_path,
method,
countries = NULL,
is_under5 = FALSE,
vaccination_years = 2000:2030
)
Connection to database
Path to file containing recipe for burden outcome calculation. For more details see vignette("vignette").
Impact method to use one of calendar_year, birth_year, yov_activity_type, yov_birth_cohort.
Vector of countries to get impact for. If NULL then impact calculated for all countries.
If TRUE then only include data for age under 5, otherwise calculate impact for all ages
Years of vaccination of interest, only used for year of vaccination (yov) methods
The impact for each row in the recipe