Skip to content

Commit a0f3ccd

Browse files
committed
Replace copyrighted slide figures with freely-licensed equivalents
Three images in the methodology lecture deck lacked reuse rights: - 41579_2024_1126_Fig1_HTML.png (© Springer Nature / Nature Reviews Microbiology) - 340149_1_En_16_Fig6_HTML.webp (© Springer Nature / book chapter) - burden-typhoid-vaccines.png (mapchart.net, unclear license) Changes: - Delete all three copyrighted files from man/figures/ - Shigella slide: remove the NRM incidence choropleth; keep the CDC/PHIL public-domain Shigella_stool.jpg (now with explicit CC/PD attribution in the caption) - Scrub-typhus slide: remove the Springer range map; keep Trombicula-larva-stylostome.jpg (CC BY-SA 3.0, Alan R Walker, now attributed in the caption) - Burden-data-gap slide: replace burden-typhoid-vaccines.png with an R code chunk that generates an equivalent TCV-adoption world map using map_data("world") + publicly known country list from CDC MMWR 72(7):182–188 (public domain). Add `maps` to Config/Needs/website. - Fix the Fievre_typhoide.png caption: it is a typhoid-distribution world map (CC BY-SA 3.0, Wikimedia Commons), not a "historic typhoid fever illustration". - Fix the SalmonellaTyphiFlagellarStain.jpg caption to include the Wikimedia Commons URL. - Remove `Springer` from inst/WORDLIST (no longer referenced). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B5FrE8RZ6EjFiz7q8zqbfg
1 parent ce688e1 commit a0f3ccd

6 files changed

Lines changed: 45 additions & 9 deletions

File tree

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ LinkingTo:
7272
Config/testthat/edition: 3
7373
Config/Needs/roxygen2: roxygen2, moodymudskipper/devtag
7474
Config/Needs/lint: r-lib/lintr
75-
Config/Needs/website: quarto, lewinfox/foodwebr, serodynamics
75+
Config/Needs/website: quarto, lewinfox/foodwebr, serodynamics, maps
7676
Config/Needs/check: readr
7777
Encoding: UTF-8
7878
Language: en-US

inst/WORDLIST

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ Seroepidemiology
3838
Seroincidence
3939
Serological
4040
Shigella
41-
Springer
4241
TCVs
4342
TW
4443
Trombicula
-51.4 KB
Binary file not shown.
-151 KB
Binary file not shown.
-145 KB
Binary file not shown.

vignettes/methodology.qmd

Lines changed: 44 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ author: Ezra Morrison, Assistant Professor of Biostatistics, Department of Publi
2626
:::
2727

2828
::: {.column width="40%"}
29-
![*Salmonella* Typhi, flagellar stain. Source: CDC PHIL (public domain), via Wikimedia Commons.](../man/figures/SalmonellaTyphiFlagellarStain.jpg){fig-alt="Photomicrograph of *Salmonella* Typhi bacteria with a flagellar stain"}
30-
![Historic typhoid fever illustration. Source: Wikimedia Commons (license to verify).](../man/figures/Fievre_typhoide.png){fig-alt="Historical illustration depicting typhoid fever"}
29+
![*Salmonella* Typhi, flagellar stain. Photo: CDC/PHIL (public domain), via [Wikimedia Commons](https://commons.wikimedia.org/wiki/File:SalmonellaTyphiFlagellarStain.jpg).](../man/figures/SalmonellaTyphiFlagellarStain.jpg){fig-alt="Photomicrograph of *Salmonella* Typhi bacteria with a flagellar stain"}
30+
![Global distribution of typhoid fever. Source: [Wikimedia Commons](https://commons.wikimedia.org/wiki/File:Fievre_typhoide.png), [CC BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/).](../man/figures/Fievre_typhoide.png){fig-alt="World map showing high (red) and moderate (orange) typhoid-burden countries"}
3131

3232
:::
3333

@@ -48,8 +48,7 @@ author: Ezra Morrison, Assistant Professor of Biostatistics, Department of Publi
4848

4949
:::: {.column width="50%"}
5050

51-
![*Shigella* in a stool sample. Source: Wikimedia Commons (license to verify).](../man/figures/Shigella_stool.jpg){fig-alt="Microscopy of a stool sample containing *Shigella* bacteria"}
52-
![From Nature Reviews Microbiology (2024). © Springer Nature — reuse permission required.](../man/figures/41579_2024_1126_Fig1_HTML.png){fig-alt="Published figure on enteric pathogen epidemiology from Nature Reviews Microbiology (2024)"}
51+
![*Shigella* in a stool sample. Photo: CDC/PHIL (public domain), via [Wikimedia Commons](https://commons.wikimedia.org/wiki/File:Shigella_stool.jpg).](../man/figures/Shigella_stool.jpg){fig-alt="Microscopy of a stool sample containing *Shigella* bacteria"}
5352
::::
5453

5554
:::
@@ -69,8 +68,7 @@ author: Ezra Morrison, Assistant Professor of Biostatistics, Department of Publi
6968

7069
:::: {.column width="50%"}
7170

72-
![*Trombicula* mite larva with stylostome. Source: Wikimedia Commons (license to verify).](../man/figures/Trombicula-larva-stylostome.jpg){fig-alt="Microscopy of a *Trombicula* mite larva with its stylostome feeding tube"}
73-
![From a Springer book chapter. © Springer Nature — reuse permission required.](../man/figures/340149_1_En_16_Fig6_HTML.webp){fig-alt="Published figure on scrub typhus from a Springer book chapter"}
71+
![*Trombicula* mite larva with stylostome. Photo: Alan R Walker / [Wikimedia Commons](https://commons.wikimedia.org/wiki/File:Trombicula-larva-stylostome.jpg), [CC BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/).](../man/figures/Trombicula-larva-stylostome.jpg){fig-alt="Microscopy of a *Trombicula* mite larva with its stylostome feeding tube"}
7472
::::
7573

7674
:::
@@ -98,7 +96,46 @@ widening **equity gaps** in access to effective vaccines.
9896

9997
:::: {.column width="45%"}
10098

101-
![Global typhoid burden and the limited adoption of typhoid conjugate vaccines. Reuse permission required.](../man/figures/burden-typhoid-vaccines.png){fig-alt="Figure summarizing global typhoid burden and the limited adoption of typhoid conjugate vaccines"}
99+
```{r}
100+
#| echo: false
101+
#| fig-cap: >
102+
#| Countries with routine TCV introduction as of 2023.
103+
#| Source: CDC MMWR 72(7):182–188 (public domain).
104+
#| fig-alt: >
105+
#| World map highlighting countries that have introduced typhoid conjugate
106+
#| vaccines (TCV) into routine immunization (green). As of 2023 only a
107+
#| handful of countries — Pakistan, Nepal, Liberia, Zimbabwe, Malawi, and
108+
#| Samoa — have done so, despite much wider typhoid burden.
109+
library(ggplot2)
110+
111+
# Countries with routine TCV introduction as of 2023
112+
# Source: CDC MMWR 72(7):182–188, February 17, 2023 (public domain)
113+
tcv_countries <- c(
114+
"Pakistan", "Nepal",
115+
"Liberia", "Zimbabwe", "Malawi",
116+
"Samoa"
117+
)
118+
world <- map_data("world")
119+
world$status <- ifelse(
120+
world$region %in% tcv_countries,
121+
"TCV introduced", "Not yet introduced"
122+
)
123+
ggplot(world, aes(long, lat, group = group, fill = status)) +
124+
geom_polygon(colour = "white", linewidth = 0.1) +
125+
scale_fill_manual(
126+
values = c(
127+
"TCV introduced" = "#1B9E77",
128+
"Not yet introduced" = "#BBBBBB"
129+
),
130+
name = NULL
131+
) +
132+
coord_fixed(1.3) +
133+
theme_void() +
134+
theme(
135+
legend.position = "bottom",
136+
legend.text = element_text(size = 8)
137+
)
138+
```
102139

103140
::::
104141

0 commit comments

Comments
 (0)