Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: vimpact
Title: Vaccine Impact Calculation
Version: 0.1.4
Version: 0.1.5
Authors@R:
c(person(given = "Xiang",
family = "Li",
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# vimpact 0.1.5

* resolve a previous update that matches burden outcome to burden outcome code which did not capture the special case of rubella outcomes.

# vimpact 0.1.4

* Produce age specific calendar impact.
Expand Down
2 changes: 2 additions & 0 deletions R/impact_central.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ get_raw_impact_details <- function(con, meta1, burden_outcome, is_under5 = FALSE
stopifnot(burden_outcome %in% c("deaths", "cases", "dalys", "yll",
"deaths_cwyx", "cases_cwyx", "dalys_cwyx", "yll_cwyx")) # _cwyx outcomes are MenA specific.
stopifnot(is_under5 %in% c(TRUE, FALSE))
meta1$burden_outcome <- gsub("rubella_deaths_congenital", "deaths", meta1$burden_outcome)
meta1$burden_outcome <- gsub("rubella_cases_congenital", "cases", meta1$burden_outcome)

# determine whether a recipe is for routine or campaign vaccine delivery
# routine or campaign matters for method2a in terms of the shape of burden estimates to extract
Expand Down
22 changes: 22 additions & 0 deletions vignettes/internal-impact.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,28 @@ vignette: >

This vignette describes how to use vimpact to calculate impact as a member of VIMC. This requires a connection to the montagu database so can only be used internally. Note that this is all in development and the interface is likely to change.

N.B. For VIMC Rubella models, disease burden is measured in terms of CRS cases affecting newborns, linked to their pregnant mothers. This is different from many other diseases (e.g., HepB, measles or YF in this vignette), where the burden is directly attributed to the infected individual. Consequently, when you see vimpact outputs for Rubella, please refer to the following interpretations.

a.) Age-specific calendar impact

Definition: The disease burden averted for newborns in a given calendar year, attributed to mothers in specific age groups during that year.
Interpretation: How many CRS related burden are prevented among newborns, broken down by the age of the mother in the year of pregnancy.

b.) Calendar impact

Definition: The total disease burden averted for newborns in a given calendar year (regardless of the mother's age).
Interpretation: How many CRS related burden are prevented among newborns overall in that year.

c.) Cohort impact

Definition: The disease burden averted for newborns whose mothers were born in a specific birth year.
Interpretation: How many CRS related burden are prevented among newborns, categorized by the mother’s year of birth.

d.) Impact by year of vaccination

Definition: The disease burden averted that is linked to immunization programs carried out in a particular year.
Interpretation: How many CRS related burden are prevented among newborns, attributed to vaccinations given in that specific year.

## Impact by calendar year & impact by birth year

### Function interface
Expand Down
22 changes: 22 additions & 0 deletions vignettes/using-vimpact.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,28 @@ knitr::opts_chunk$set(

This vignette describes how to use impact calculation methods used in VIMC as an external user.

N.B. For VIMC Rubella models, disease burden is measured in terms of CRS cases affecting newborns, linked to their pregnant mothers. This is different from many other diseases (e.g., HepB, measles or YF in this vignette), where the burden is directly attributed to the infected individual. Consequently, when you see vimpact outputs for Rubella, please refer to the following interpretations.

a.) Age-specific calendar impact

Definition: The disease burden averted for newborns in a given calendar year, attributed to mothers in specific age groups during that year.
Interpretation: How many CRS related burden are prevented among newborns, broken down by the age of the mother in the year of pregnancy.

b.) Calendar impact

Definition: The total disease burden averted for newborns in a given calendar year (regardless of the mother's age).
Interpretation: How many CRS related burden are prevented among newborns overall in that year.

c.) Cohort impact

Definition: The disease burden averted for newborns whose mothers were born in a specific birth year.
Interpretation: How many CRS related burden are prevented among newborns, categorized by the mother’s year of birth.

d.) Impact by year of vaccination

Definition: The disease burden averted that is linked to immunization programs carried out in a particular year.
Interpretation: How many CRS related burden are prevented among newborns, attributed to vaccinations given in that specific year.

## Data

The simplest possible example is a static model with constant routine immunisation and a one-off campaign. Burden estimates from a theoretical country are found in 3 csv titled `example_novax_burden.csv`, `example_routine_burden.csv` and `example_routine_campaign_burden.csv`. These include estimates of burden in years 1900 - 2100 and display the format used by the functions.
Expand Down
Loading