Skip to content

Commit 6357b81

Browse files
Update vignettes/datatable-joins.Rmd
Co-authored-by: Michael Chirico <[email protected]>
1 parent dcf4178 commit 6357b81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vignettes/datatable-joins.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ If you want to keep the `i_int` column from `i`, you need to explicitly select i
598598
x[i, on = .(x_int >= i_int), .(i_int = i.i_int, x_int = x.x_int, lower, UPPER)]
599599
```
600600

601-
This ensures the output clearly distinguishes `i_int` (from `i`) and `x_int` (from `x`).
601+
Using prefixes (`x.` and `i.`) is not strictly necessary in this case since the names are unambiguous, but using them ensures the output clearly distinguishes `i_int` (from `i`) and `x_int` (from `x`).
602602

603603
If you want to exclude unmatched rows (an _inner join_), you should use `nomatch = NULL`:
604604

0 commit comments

Comments
 (0)