Skip to content

Commit

Permalink
Merge branch 'dev_update_postprocessing' of github.com:HopkinsIDD/cho…
Browse files Browse the repository at this point in the history
…lera-mapping-pipeline into dev_update_postprocessing
  • Loading branch information
javierps committed Feb 5, 2024
2 parents 0196a97 + 5ea0828 commit 626e606
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Analysis/R/make_final_figures_and_tables.R
Original file line number Diff line number Diff line change
Expand Up @@ -1291,9 +1291,9 @@ p_endemicity_v2 <- endemicity_df_v2 %>%
mutate(frac = pop/sum(pop)) %>%
group_by(country) %>%
mutate(
frac_other = frac[endemicity == "mix"],
frac_high = sum(frac[endemicity %in% c("high-both", "high-either")]),
frac_low = sum(frac[endemicity %in% c("low-both")])
frac_other = frac[endemicity == "history of moderate risk"],
frac_high = sum(frac[endemicity %in% c("sustained high risk", "history of high risk")]),
frac_low = sum(frac[endemicity %in% c("sustained low risk")])
) %>%
ungroup() %>%
mutate(endemicity = forcats::fct_rev(endemicity),
Expand Down

0 comments on commit 626e606

Please sign in to comment.