From d7dfc5b44deaea5b1ccbd326b19d10172943156e Mon Sep 17 00:00:00 2001 From: florisvdh Date: Wed, 10 Apr 2024 11:49:58 +0200 Subject: [PATCH] joins.qmd: fix party-birthday matching condition in text (fixes #1610) --- joins.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/joins.qmd b/joins.qmd index b18759bb7..4a7fee841 100644 --- a/joins.qmd +++ b/joins.qmd @@ -819,7 +819,7 @@ employees <- tibble( employees ``` -And for each employee we want to find the first party date that comes after (or on) their birthday. +And for each employee we want to find the last party date that comes before (or on) their birthday. We can express that with a rolling join: ```{r}