diff --git a/joins.qmd b/joins.qmd index ecb4a86..de7043d 100644 --- a/joins.qmd +++ b/joins.qmd @@ -855,17 +855,10 @@ And for each employee we want to find the first party date that comes after (or We can express that with a rolling join: ```{r} -#| eval: false employees |> left_join(parties, join_by(closest(birthday >= party))) ``` -```{r} -#| echo: false -employees |> - left_join(parties, join_by(preceding(birthday, party))) -``` - ### Overlap joins Overlap joins provide three helpers that use inequality joins to make it easier to work with intervals: