diff --git a/joins.qmd b/joins.qmd index bf778e5..d9a5453 100644 --- a/joins.qmd +++ b/joins.qmd @@ -680,7 +680,7 @@ x |> left_join(y, by = "key", keep = TRUE) ```{r} #| label: fig-inner-both #| fig-cap: > -#| A left join showing both `x` and `y` keys in the output. +#| An inner join showing both `x` and `y` keys in the output. #| fig-alt: > #| A join diagram showing an inner join betwen x and y. The result #| now includes four columns: key.x, val_x, key.y, and val_y. The @@ -700,8 +700,8 @@ dplyr's join functions understand this distinction equi and non-equi joins so wi #| label: fig-join-gte #| echo: false #| fig-cap: > -#| A non-equi join where the `x` key must greater than or equal to -#| than the `y` key. Many rows generate multiple matches. +#| A non-equi join where the `x` key must be greater than or equal to +#| the `y` key. Many rows generate multiple matches. #| fig-alt: > #| A join diagram illustrating join_by(key >= key). The first row #| of x matches one row of y and the second and thirds rows each match