Skip to content

Commit 51dce0c

Browse files
committed
resolve rubella burden outcome mismatch
1 parent d2a933f commit 51dce0c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

R/impact_central.R

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ get_raw_impact_details <- function(con, meta1, burden_outcome, is_under5 = FALSE
44
stopifnot(burden_outcome %in% c("deaths", "cases", "dalys", "yll",
55
"deaths_cwyx", "cases_cwyx", "dalys_cwyx", "yll_cwyx")) # _cwyx outcomes are MenA specific.
66
stopifnot(is_under5 %in% c(TRUE, FALSE))
7+
meta1$burden_outcome <- gsub("rubella_deaths_congenital", "deaths", meta1$burden_outcome)
8+
meta1$burden_outcome <- gsub("rubella_cases_congenital", "cases", meta1$burden_outcome)
79

810
# determine whether a recipe is for routine or campaign vaccine delivery
911
# routine or campaign matters for method2a in terms of the shape of burden estimates to extract

0 commit comments

Comments
 (0)