Steven Ponce home pageSteven Ponce home page Steven Ponce
  • Home
  • Data Visualizations
  • Projects
  • Behind the Viz
  • Resume
  • Email

On this page

  • Steps to Create this Graphic
    • 1. Load Packages & Setup
    • 2. Read in the Data
    • 3. Examine the Data
    • 4. Tidy Data
    • 5. Visualization Parameters
    • 6. Plot
    • 7. Save
    • 8. Reproduce

The record changes at 1900, not necessarily the Church

  • Show All Code
  • Hide All Code

  • View Source

Before 1900, this file draws on MiracleHunter’s list of traditionally approved Marian apparition claims. From 1900, it draws on MiracleHunter’s list of unapproved claims. Two lists with different rules for who gets in: the file cannot show whether approval rates changed.

TidyTuesday
2026
The TidyTuesday miracles file holds only traditionally approved Marian apparition claims before 1900 and only unapproved claims from 1900, so it cannot show whether approval rates changed. A 2x2 collection matrix compares source lists by period, with empty cells marking populations the file never collected. Built in R with ggplot2, ggtext and showtext.
Author

Steven Ponce

Published

November 30, 2026

Figure 1: A two-by-two matrix titled “The record changes at 1900, not necessarily the Church.” Columns split Marian apparition records into before 1900 and from 1900; rows into listed as approved and listed as unapproved. Only the diagonal cells hold records: 679 traditionally approved claims before 1900 and 800 claims MiracleHunter lists as unapproved from 1900, shown as large numbers in dark cells. The other two cells are empty, outlined with dashed lines and labeled “Not in this dataset”: approved claims from 1900 sit on MiracleHunter pages the file did not collect, and no list of unapproved claims before 1900 was found at the source. Because the two periods come from different lists, the file cannot show whether approval rates changed. The caption notes that empty cells mean not collected, not zero events. Data: MiracleHunter.com via TidyTuesday.

Key takeaways

  • Any apparent decline in approval would appear whatever the Church decided, because it comes from how the file was assembled. All 679 records from the traditional list carry an approved status, while only 23 of the 800 records from the unapproved list contain approval-related wording.
  • MiracleHunter separately lists 12 approved 20th-century apparitions, including Fatima, Banneux and Kibeho. None was identified as a corresponding apparition record in the TidyTuesday file.
  • Re-reading the source dates shows the 1900 boundary holds: none of the 1,448 records with a reconstructed numerical year crosses it. The remaining 31 lack a reconstructed numerical year, but their source-list membership is known.

Steps to Create this Graphic

1. Load Packages & Setup

Show code
```{r}
#| label: load
#| warning: false
#| message: false      
#| results: "hide"     
#| cache: false

## 1. LOAD PACKAGES & SETUP ----
suppressPackageStartupMessages({
if (!require("pacman")) install.packages("pacman")
pacman::p_load(
    tidyverse, ggtext, showtext, scales, glue, ggview,
    ragg, magick
    )
})

# Source utility functions
suppressMessages(source(here::here("R/utils/fonts.R")))
source(here::here("R/utils/social_icons.R"))
source(here::here("R/utils/image_utils.R"))
source(here::here("R/themes/base_theme.R"))
```

2. Read in the Data

Show code
```{r}
#| label: read
#| include: true
#| eval: true
#| warning: false
#| cache: false

### |- figure settings ----
fig_w    <- 10
fig_h    <- 7
fig_dpi  <- 320

### |- fonts ----
setup_fonts()
fonts <- get_font_families()
title_family <- fonts$title_1
title_size   <- 30


## 2. READ IN THE DATA ----
## Every field as character, no NA tokens.
tt_url <- "https://raw.githubusercontent.com/rfordatascience/tidytuesday/main/data/2026/2026-12-01/"
miracles_raw <- read_csv(paste0(tt_url, "catholic_miracles.csv"),
  col_types = cols(.default = col_character()), na = character(), show_col_types = FALSE
)
```

3. Examine the Data

Show code
```{r}
#| label: examine
#| include: true
#| eval: true
#| results: 'hide'
#| warning: false

## 3. EXAMINING THE DATA ----
glimpse(miracles_raw)
```

4. Tidy Data

Show code
```{r}
#| label: tidy
#| warning: false

### |- the two Marian source lists ----
marian <- miracles_raw |>
  filter(category == "Marian Apparition") |>
  mutate(list = if_else(approval_status == "Approved (traditional/episcopal)",
                        "traditional", "unapproved"))

n_marian      <- nrow(marian)
n_traditional <- sum(marian$list == "traditional")
n_unapproved  <- sum(marian$list == "unapproved")

### |- the 2 x 2 ----
# columns: before 1900 (1) / from 1900 (2); rows: approved (2) / unapproved (1)
cells <- tibble(
  col    = c(1, 2, 2, 1),
  row    = c(2, 1, 2, 1),
  filled = c(TRUE, TRUE, FALSE, FALSE),
  count  = c(comma(n_traditional), comma(n_unapproved), NA, NA),
  what   = c("records in this dataset",
             "records in this dataset",
             "Approved claims from 1900 are on\nMiracleHunter pages not collected",
             "No list of unapproved claims\nbefore 1900 found at the source"),
  tag    = c(NA, NA, "Not in this dataset", "Not in this dataset")
)

col_heads <- tibble(x = c(1, 2), y = 2.6, label = c("Before 1900", "From 1900"))
row_heads <- tibble(x = 0.42, y = c(2, 1), label = c("Listed as\napproved", "Listed as\nunapproved"))
tile_w <- 0.94
```

5. Visualization Parameters

Show code
```{r}
#| label: params
#| include: true
#| warning: false
#| cache: false

### |- plot aesthetics ----
clrs <- get_theme_colors(
  palette = list(
    filled  = "#2C2825",
    missing = "#722F37",
    edge    = "#8C847C",
    ink     = "#2C2825",
    label   = "#72685F"
  )
)
col_filled  <- clrs$palette$filled
col_missing <- clrs$palette$missing
col_edge    <- clrs$palette$edge
col_ink     <- clrs$palette$ink
col_label   <- clrs$palette$label

### |- titles and caption ----
title_text <- "The record changes at 1900, not necessarily the Church"

subtitle_text <- glue(
  "Before 1900, this file draws on MiracleHunter's list of **traditionally approved** Marian apparition claims.<br>",
  "From 1900, it draws on MiracleHunter's list of **unapproved** claims.<br>",
  "Two lists with different rules for who gets in: the file cannot show whether approval rates changed."
)

caption_note <- glue(
  "Counts are records per source list ({comma(n_marian)} Marian apparition records in the TidyTuesday file). ",
  "Empty cells mean not collected, not zero events.<br>",
  "Inclusion depends on which MiracleHunter list a record came from, and the lists use different selection rules."
)

caption_text <- paste0(
  caption_note, "<br>",
  create_social_caption(
    tt_year = 2026,
    tt_week = 48,
    source_text = "MiracleHunter.com via TidyTuesday"
  )
)

### |- plot theme ----
base_theme <- create_base_theme(clrs)

weekly_theme <- extend_weekly_theme(
  base_theme,
  theme(
    plot.title = element_text(
      face = "bold", family = title_family, size = title_size,
      color = col_ink, margin = margin(b = 8)
    ),
    plot.subtitle = element_textbox_simple(
      family = fonts$subtitle, size = 12, color = col_ink,
      lineheight = 1.3, margin = margin(b = 10)
    ),
    plot.caption = element_textbox_simple(
      family = fonts$caption, size = 6.6, color = col_label,
      lineheight = 1.35, margin = margin(t = 10)
    ),
    axis.text = element_blank(),
    axis.title = element_blank(),
    axis.ticks = element_blank(),
    panel.grid = element_blank(),
    plot.margin = margin(14, 20, 8, 20)
  )
)

theme_set(weekly_theme)
```

6. Plot

Show code
```{r}
#| label: plot
#| warning: false

### |- main plot ----
p <- ggplot() +
  # Geoms
  geom_tile(
    data = filter(cells, filled), aes(col, row),
    width = tile_w, height = tile_w, fill = col_filled
  ) +
  geom_tile(
    data = filter(cells, !filled), aes(col, row),
    width = tile_w, height = tile_w, fill = NA,
    color = col_edge, linetype = "dashed", linewidth = 0.55
  ) +
  geom_text(
    data = filter(cells, filled), aes(col, row + 0.08, label = count),
    family = fonts$title_1, fontface = "bold", size = 16, color = "white"
  ) +
  geom_text(
    data = filter(cells, filled), aes(col, row - 0.12, label = what),
    family = fonts$text, size = 4.3, color = "white", lineheight = 1.05
  ) +
  geom_text(
    data = filter(cells, !filled), aes(col, row + 0.2, label = tag),
    family = fonts$text, fontface = "bold", size = 4.6, color = col_missing
  ) +
  geom_text(
    data = filter(cells, !filled), aes(col, row - 0.08, label = what),
    family = fonts$text, size = 3.9, color = col_label, lineheight = 1.1
  ) +
  geom_text(
    data = col_heads, aes(x, y, label = label),
    family = fonts$text, fontface = "bold", size = 4.6, color = col_ink
  ) +
  geom_text(
    data = row_heads, aes(x, y, label = label),
    family = fonts$text, fontface = "bold", size = 4.6, color = col_ink, hjust = 1, lineheight = 1.05
  ) +
  # Scales
  coord_cartesian(xlim = c(-0.15, 2.5), ylim = c(0.48, 2.72), expand = FALSE) +
  # Labs
  labs(title = title_text, subtitle = subtitle_text, caption = caption_text)
```

7. Save

Show code
```{r}
#| label: save
#| warning: false

### |- save ----
main_path  <- here::here("data_visualizations", "TidyTuesday", "2026", "tt_2026_48.png")
thumb_path <- here::here("data_visualizations", "TidyTuesday", "2026", "thumbnails", "tt_2026_48.png")

# Full-size version, for the QMD figure
ggview::save_ggplot(plot = p, file   = main_path, width  = fig_w,
    height = fig_h, units  = "in", dpi = fig_dpi)

# Reduced-size thumbnail, for the YAML `image:` field
fs::dir_create(dirname(thumb_path))
magick::image_read(main_path) |>
  magick::image_resize("400") |>
  magick::image_write(thumb_path)
```

8. Reproduce

TipSession info
Show code
```{r}
#| eval: true
#| warning: false

sessionInfo()
```
R version 4.6.1 (2026-06-24)
Platform: aarch64-apple-darwin23
Running under: macOS Tahoe 26.7.3

Matrix products: default
BLAS:   /Library/Frameworks/R.framework/Versions/4.6/Resources/lib/libRblas.0.dylib 
LAPACK: /Library/Frameworks/R.framework/Versions/4.6/Resources/lib/libRlapack.dylib;  LAPACK version 3.12.1

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

time zone: America/New_York
tzcode source: internal

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] here_1.0.2      magick_2.9.1    ragg_1.5.2      ggview_0.2.2   
 [5] glue_1.8.1      scales_1.4.0    showtext_0.9-8  showtextdb_3.0 
 [9] sysfonts_0.8.9  ggtext_0.2.0    lubridate_1.9.5 forcats_1.0.1  
[13] stringr_1.6.0   dplyr_1.2.1     purrr_1.2.2     readr_2.2.0    
[17] tidyr_1.3.2     tibble_3.3.1    ggplot2_4.0.3   tidyverse_2.0.0
[21] pacman_0.5.1   

loaded via a namespace (and not attached):
 [1] gtable_0.3.6       xfun_0.60          htmlwidgets_1.6.4  tzdb_0.5.0        
 [5] vctrs_0.7.3        tools_4.6.1        generics_0.1.4     curl_7.1.0        
 [9] parallel_4.6.1     pkgconfig_2.0.3    RColorBrewer_1.1-3 S7_0.2.2          
[13] lifecycle_1.0.5    compiler_4.6.1     farver_2.1.2       textshaping_1.0.5 
[17] litedown_0.10      htmltools_0.5.9    yaml_2.3.12        pillar_1.11.1     
[21] crayon_1.5.3       commonmark_2.0.0   tidyselect_1.2.1   digest_0.6.39     
[25] stringi_1.8.7      labeling_0.4.3     rprojroot_2.1.1    fastmap_1.2.0     
[29] grid_4.6.1         cli_3.6.6          magrittr_2.0.5     withr_3.0.3       
[33] bit64_4.8.2        timechange_0.4.0   rmarkdown_2.31     bit_4.6.0         
[37] otel_0.2.0         hms_1.1.4          evaluate_1.0.5     knitr_1.51        
[41] markdown_2.0       rlang_1.3.0        gridtext_0.1.6     Rcpp_1.1.2        
[45] xml2_1.6.0         rstudioapi_0.19.0  vroom_1.7.1        jsonlite_2.0.0    
[49] R6_2.6.1           fs_2.1.0           systemfonts_1.3.2 
TipCode

The complete code for this analysis is in tt_2026_48.qmd. The full site is in the poncest/personal-website repository.

TipReferences

Primary Data (TidyTuesday): 1. TidyTuesday 2026 Week 48: Documented Catholic Miracles, curated by Tony Galvan, Golden Dome Data Science. - One table of 1,990 records in six categories, scraped from MiracleHunter.com, miracolieucaristici.org and lourdes-france.com. This post uses the 1,479 Marian apparition records. - The curation script builds the Marian rows from two MiracleHunter lists: the traditionally approved century pages (679 rows, given an approved status by the script) and the list of unapproved apparitions since 1900 (800 rows, with MiracleHunter’s own status text). MiracleHunter’s pages of approved 20th-century apparitions were not scraped.

Source Data: 2. MiracleHunter traditionally approved apparitions, Unapproved Apparitions Since 1900 and Complete List of Approved 20th Century Apparitions (read 2026-11-30). - The approved 20th-century list has 12 entries, including Fatima, Banneux and Kibeho; none was identified in the TidyTuesday file. - The site’s navigation offers a single list for non-approved claims, the one since 1900; no list of unapproved claims before 1900 was found.

Analysis: The curation script takes the first run of digits in each date as the year, so some day numbers became years. To check the 1900 boundary, dates were re-read from the same source pages on 2026-11-30: 1,448 of the 1,479 Marian records have a readable year, and none falls on the other list’s side of 1900. The remaining 31 keep their source-list membership. Checks and figures: decision record.

Claim limits: Counts are records per source list, and statuses are as MiracleHunter records them, not verified rulings. Empty cells mean not collected, not zero events. The chart makes no claim about whether any apparition occurred or how often the Church approves claims.

NoteHelper functions

This analysis uses functions from my personal module library. The data tidying and chart logic use standard tidyverse packages.

Functions used:

  • fonts.R: setup_fonts(), get_font_families(): font management with showtext
  • social_icons.R: create_social_caption(): formatted social media captions
  • base_theme.R: create_base_theme(), extend_weekly_theme(), get_theme_colors(): custom ggplot2 themes

Browse the helper functions on GitHub

Back to top

Citation

BibTeX citation:
@online{ponce2026,
  author = {Ponce, Steven},
  title = {The Record Changes at 1900, Not Necessarily the {Church}},
  date = {2026-11-30},
  url = {https://stevenponce.netlify.app/data_visualizations/TidyTuesday/2026/tt_2026_48.html},
  langid = {en}
}
For attribution, please cite this work as:
Ponce, Steven. 2026. “The Record Changes at 1900, Not Necessarily the Church.” November 30. https://stevenponce.netlify.app/data_visualizations/TidyTuesday/2026/tt_2026_48.html.
Source Code
---
title: "The record changes at 1900, not necessarily the Church"
subtitle: "Before 1900, this file draws on MiracleHunter's list of traditionally approved Marian apparition claims. From 1900, it draws on MiracleHunter's list of unapproved claims. Two lists with different rules for who gets in: the file cannot show whether approval rates changed."
description: "The TidyTuesday miracles file holds only traditionally approved Marian apparition claims before 1900 and only unapproved claims from 1900, so it cannot show whether approval rates changed. A 2x2 collection matrix compares source lists by period, with empty cells marking populations the file never collected. Built in R with ggplot2, ggtext and showtext."
date: "2026-11-30"
author:
  - name: "Steven Ponce"
    url: "https://stevenponce.netlify.app"
citation:
  url: "https://stevenponce.netlify.app/data_visualizations/TidyTuesday/2026/tt_2026_48.html"
categories: ["TidyTuesday", "2026"]
tags: [
  "TidyTuesday",
  "Catholic Miracles",
  "Marian Apparitions",
  "Selection Bias",
  "Data Provenance",
  "Missing Data",
  "Negative Space",
  "Matrix Chart",
  "Data Quality",
  "Annotation",
  "ggtext",
  "showtext",
  "ggplot2",
  "2026"
]
image: "thumbnails/tt_2026_48.png"
format:
  html:
    toc: true
    toc-depth: 4
    code-link: true
    code-fold: true
    code-tools: true
    code-summary: "Show code"
editor_options: 
  chunk_output_type: inline
execute: 
  freeze: true
  cache: false
  error: false
  message: false
  warning: false
  eval: true
---

![A two-by-two matrix titled "The record changes at 1900, not necessarily the Church." Columns split Marian apparition records into before 1900 and from 1900; rows into listed as approved and listed as unapproved. Only the diagonal cells hold records: 679 traditionally approved claims before 1900 and 800 claims MiracleHunter lists as unapproved from 1900, shown as large numbers in dark cells. The other two cells are empty, outlined with dashed lines and labeled "Not in this dataset": approved claims from 1900 sit on MiracleHunter pages the file did not collect, and no list of unapproved claims before 1900 was found at the source. Because the two periods come from different lists, the file cannot show whether approval rates changed. The caption notes that empty cells mean not collected, not zero events. Data: MiracleHunter.com via TidyTuesday.](tt_2026_48.png){#fig-1}

::: {.key-takeaways}
[Key takeaways]{.key-takeaways-label}

- Any apparent decline in approval would appear whatever the Church decided, because it comes from how the file was assembled. All 679 records from the traditional list carry an approved status, while only 23 of the 800 records from the unapproved list contain approval-related wording.
- MiracleHunter separately lists 12 approved 20th-century apparitions, including Fatima, Banneux and Kibeho. None was identified as a corresponding apparition record in the TidyTuesday file.
- Re-reading the source dates shows the 1900 boundary holds: none of the 1,448 records with a reconstructed numerical year crosses it. The remaining 31 lack a reconstructed numerical year, but their source-list membership is known.
:::

### [**Steps to Create this Graphic**]{.mark}

#### [1. Load Packages & Setup]{.smallcaps}

```{r}
#| label: load
#| warning: false
#| message: false      
#| results: "hide"     
#| cache: false

## 1. LOAD PACKAGES & SETUP ----
suppressPackageStartupMessages({
if (!require("pacman")) install.packages("pacman")
pacman::p_load(
    tidyverse, ggtext, showtext, scales, glue, ggview,
    ragg, magick
    )
})

# Source utility functions
suppressMessages(source(here::here("R/utils/fonts.R")))
source(here::here("R/utils/social_icons.R"))
source(here::here("R/utils/image_utils.R"))
source(here::here("R/themes/base_theme.R"))
```

#### [2. Read in the Data]{.smallcaps}

```{r}
#| label: read
#| include: true
#| eval: true
#| warning: false
#| cache: false

### |- figure settings ----
fig_w    <- 10
fig_h    <- 7
fig_dpi  <- 320

### |- fonts ----
setup_fonts()
fonts <- get_font_families()
title_family <- fonts$title_1
title_size   <- 30


## 2. READ IN THE DATA ----
## Every field as character, no NA tokens.
tt_url <- "https://raw.githubusercontent.com/rfordatascience/tidytuesday/main/data/2026/2026-12-01/"
miracles_raw <- read_csv(paste0(tt_url, "catholic_miracles.csv"),
  col_types = cols(.default = col_character()), na = character(), show_col_types = FALSE
)
```

#### [3. Examine the Data]{.smallcaps}

```{r}
#| label: examine
#| include: true
#| eval: true
#| results: 'hide'
#| warning: false

## 3. EXAMINING THE DATA ----
glimpse(miracles_raw)
```

#### [4. Tidy Data]{.smallcaps}

```{r}
#| label: tidy
#| warning: false

### |- the two Marian source lists ----
marian <- miracles_raw |>
  filter(category == "Marian Apparition") |>
  mutate(list = if_else(approval_status == "Approved (traditional/episcopal)",
                        "traditional", "unapproved"))

n_marian      <- nrow(marian)
n_traditional <- sum(marian$list == "traditional")
n_unapproved  <- sum(marian$list == "unapproved")

### |- the 2 x 2 ----
# columns: before 1900 (1) / from 1900 (2); rows: approved (2) / unapproved (1)
cells <- tibble(
  col    = c(1, 2, 2, 1),
  row    = c(2, 1, 2, 1),
  filled = c(TRUE, TRUE, FALSE, FALSE),
  count  = c(comma(n_traditional), comma(n_unapproved), NA, NA),
  what   = c("records in this dataset",
             "records in this dataset",
             "Approved claims from 1900 are on\nMiracleHunter pages not collected",
             "No list of unapproved claims\nbefore 1900 found at the source"),
  tag    = c(NA, NA, "Not in this dataset", "Not in this dataset")
)

col_heads <- tibble(x = c(1, 2), y = 2.6, label = c("Before 1900", "From 1900"))
row_heads <- tibble(x = 0.42, y = c(2, 1), label = c("Listed as\napproved", "Listed as\nunapproved"))
tile_w <- 0.94
```

#### [5. Visualization Parameters]{.smallcaps}

```{r}
#| label: params
#| include: true
#| warning: false
#| cache: false

### |- plot aesthetics ----
clrs <- get_theme_colors(
  palette = list(
    filled  = "#2C2825",
    missing = "#722F37",
    edge    = "#8C847C",
    ink     = "#2C2825",
    label   = "#72685F"
  )
)
col_filled  <- clrs$palette$filled
col_missing <- clrs$palette$missing
col_edge    <- clrs$palette$edge
col_ink     <- clrs$palette$ink
col_label   <- clrs$palette$label

### |- titles and caption ----
title_text <- "The record changes at 1900, not necessarily the Church"

subtitle_text <- glue(
  "Before 1900, this file draws on MiracleHunter's list of **traditionally approved** Marian apparition claims.<br>",
  "From 1900, it draws on MiracleHunter's list of **unapproved** claims.<br>",
  "Two lists with different rules for who gets in: the file cannot show whether approval rates changed."
)

caption_note <- glue(
  "Counts are records per source list ({comma(n_marian)} Marian apparition records in the TidyTuesday file). ",
  "Empty cells mean not collected, not zero events.<br>",
  "Inclusion depends on which MiracleHunter list a record came from, and the lists use different selection rules."
)

caption_text <- paste0(
  caption_note, "<br>",
  create_social_caption(
    tt_year = 2026,
    tt_week = 48,
    source_text = "MiracleHunter.com via TidyTuesday"
  )
)

### |- plot theme ----
base_theme <- create_base_theme(clrs)

weekly_theme <- extend_weekly_theme(
  base_theme,
  theme(
    plot.title = element_text(
      face = "bold", family = title_family, size = title_size,
      color = col_ink, margin = margin(b = 8)
    ),
    plot.subtitle = element_textbox_simple(
      family = fonts$subtitle, size = 12, color = col_ink,
      lineheight = 1.3, margin = margin(b = 10)
    ),
    plot.caption = element_textbox_simple(
      family = fonts$caption, size = 6.6, color = col_label,
      lineheight = 1.35, margin = margin(t = 10)
    ),
    axis.text = element_blank(),
    axis.title = element_blank(),
    axis.ticks = element_blank(),
    panel.grid = element_blank(),
    plot.margin = margin(14, 20, 8, 20)
  )
)

theme_set(weekly_theme)
```

#### [6. Plot]{.smallcaps}

```{r}
#| label: plot
#| warning: false

### |- main plot ----
p <- ggplot() +
  # Geoms
  geom_tile(
    data = filter(cells, filled), aes(col, row),
    width = tile_w, height = tile_w, fill = col_filled
  ) +
  geom_tile(
    data = filter(cells, !filled), aes(col, row),
    width = tile_w, height = tile_w, fill = NA,
    color = col_edge, linetype = "dashed", linewidth = 0.55
  ) +
  geom_text(
    data = filter(cells, filled), aes(col, row + 0.08, label = count),
    family = fonts$title_1, fontface = "bold", size = 16, color = "white"
  ) +
  geom_text(
    data = filter(cells, filled), aes(col, row - 0.12, label = what),
    family = fonts$text, size = 4.3, color = "white", lineheight = 1.05
  ) +
  geom_text(
    data = filter(cells, !filled), aes(col, row + 0.2, label = tag),
    family = fonts$text, fontface = "bold", size = 4.6, color = col_missing
  ) +
  geom_text(
    data = filter(cells, !filled), aes(col, row - 0.08, label = what),
    family = fonts$text, size = 3.9, color = col_label, lineheight = 1.1
  ) +
  geom_text(
    data = col_heads, aes(x, y, label = label),
    family = fonts$text, fontface = "bold", size = 4.6, color = col_ink
  ) +
  geom_text(
    data = row_heads, aes(x, y, label = label),
    family = fonts$text, fontface = "bold", size = 4.6, color = col_ink, hjust = 1, lineheight = 1.05
  ) +
  # Scales
  coord_cartesian(xlim = c(-0.15, 2.5), ylim = c(0.48, 2.72), expand = FALSE) +
  # Labs
  labs(title = title_text, subtitle = subtitle_text, caption = caption_text)
```

#### [7. Save]{.smallcaps}

```{r}
#| label: save
#| warning: false

### |- save ----
main_path  <- here::here("data_visualizations", "TidyTuesday", "2026", "tt_2026_48.png")
thumb_path <- here::here("data_visualizations", "TidyTuesday", "2026", "thumbnails", "tt_2026_48.png")

# Full-size version, for the QMD figure
ggview::save_ggplot(plot = p, file   = main_path, width  = fig_w,
    height = fig_h, units  = "in", dpi = fig_dpi)

# Reduced-size thumbnail, for the YAML `image:` field
fs::dir_create(dirname(thumb_path))
magick::image_read(main_path) |>
  magick::image_resize("400") |>
  magick::image_write(thumb_path)
```


#### [8. Reproduce]{.smallcaps}

::: {.callout-tip collapse="true"}
##### Session info

```{r}
#| eval: true
#| warning: false

sessionInfo()
```
:::

::: {.callout-tip collapse="true"}
##### Code

The complete code for this analysis is in [`tt_2026_48.qmd`](https://github.com/poncest/personal-website/blob/master/data_visualizations/TidyTuesday/2026/tt_2026_48.qmd). The full site is in the [poncest/personal-website repository](https://github.com/poncest/personal-website/).
:::

```{r}
#| label: references-setup
#| include: false
current_year <- 2026
current_week <- 48
create_link <- function(text, url) sprintf("[%s](%s)", text, url)
```

::: {.callout-tip collapse="true"}
##### References

**Primary Data (TidyTuesday):** 1. TidyTuesday `r current_year` Week `r current_week`: `r create_link("Documented Catholic Miracles", "https://github.com/rfordatascience/tidytuesday/tree/main/data/2026/2026-12-01")`, curated by `r create_link("Tony Galvan, Golden Dome Data Science", "https://github.com/gdatascience")`. - One table of 1,990 records in six categories, scraped from MiracleHunter.com, miracolieucaristici.org and lourdes-france.com. This post uses the 1,479 Marian apparition records. - The curation script builds the Marian rows from two MiracleHunter lists: the traditionally approved century pages (679 rows, given an approved status by the script) and the list of unapproved apparitions since 1900 (800 rows, with MiracleHunter's own status text). MiracleHunter's pages of approved 20th-century apparitions were not scraped.

**Source Data:** 2. MiracleHunter `r create_link("traditionally approved apparitions", "https://www.miraclehunter.com/marian_apparitions/approved_apparitions/traditional.html")`, `r create_link("Unapproved Apparitions Since 1900", "https://www.miraclehunter.com/marian_apparitions/approved_apparitions/index.html")` and `r create_link("Complete List of Approved 20th Century Apparitions", "https://www.miraclehunter.com/marian_apparitions/approved_apparitions/index2.html")` (read 2026-11-30). - The approved 20th-century list has 12 entries, including Fatima, Banneux and Kibeho; none was identified in the TidyTuesday file. - The site's navigation offers a single list for non-approved claims, the one since 1900; no list of unapproved claims before 1900 was found.

**Analysis:** The curation script takes the first run of digits in each date as the year, so some day numbers became years. To check the 1900 boundary, dates were re-read from the same source pages on 2026-11-30: 1,448 of the 1,479 Marian records have a readable year, and none falls on the other list's side of 1900. The remaining 31 keep their source-list membership. Checks and figures: `r create_link("decision record", "https://github.com/poncest/tidytuesday/tree/main/2026/Week_48/decisions")`.

**Claim limits:** Counts are records per source list, and statuses are as MiracleHunter records them, not verified rulings. Empty cells mean not collected, not zero events. The chart makes no claim about whether any apparition occurred or how often the Church approves claims.

:::

::: {.callout-note collapse="true"}
##### Helper functions

This analysis uses functions from my personal module library. The data tidying and chart logic use standard tidyverse packages.

**Functions used:**

- **`fonts.R`**: `setup_fonts()`, `get_font_families()`: font management with showtext
- **`social_icons.R`**: `create_social_caption()`: formatted social media captions
- **`base_theme.R`**: `create_base_theme()`, `extend_weekly_theme()`, `get_theme_colors()`: custom ggplot2 themes

[Browse the helper functions on GitHub](https://github.com/poncest/personal-website/tree/master/R)
:::

© 2024–2026 Steven Ponce. Built with R and Quarto.

Source Issues