All functions

calculate_impact()

Calculate impact - requires a DB connection to montagu.

calculate_impact_from_recipe()

Calculate impact from a recipe - requires a DB connection to montagu.

cohort_deaths_all_cause()

Extract demographic data - all couse mortality, live birth and under5 mortality rate

extract_vaccination_history()

Generate target, fvps, coverage for a touchstone This function pulls vaccination and population data from Montagu database, and transform them into target, coverage and fvps. There are two modes of pulling population data: 1.) through touchstone_pop parameter 2.) through demographic_source parameter touchstone_pop is one of touchstone_demographic_dataset.touchstone; this parameter is null-able, when it is null, touchstone_cov is used demographic_source is one of demographic_source.code; by default it is null, when it is not null, it rulls out touchstone_pop parameter

fetch_stochastic_data()

Get data from stochastic tables with specified grouping and filters

fetch_stochastic_data_year_groups()

Get data from stochastic tables with specified grouping and filters

get_population()

Extract demographic data

get_touchstone()

Determine touchstone

get_touchstone_id()

Determine touchstone id

impact_by_birth_year()

Calculate impact by birth year (lifetime impact)

impact_by_calendar_year()

Calculate impact by calendar year

impact_by_year_of_vaccination_activity_type()

Calculate impact by year of vaccination: activity type

impact_by_year_of_vaccination_birth_cohort()

Calculate impact by year of vaccination: birth cohort

impact_by_year_of_vaccination_cohort_perspective()

Calculate impact by year of vaccination cohort perspective

impact_by_year_of_vaccination_country_perspective()

Calculate impact by year of vaccination country perspective

recipe_template()

Impact recipe template