Skip to content

Commit 6922a91

Browse files
Fix typo in join vignette: Replace "banana" with "soda" (#6798) (#6801)
* corrected soda instead of banana * Drop extra section * Further improve exposition --------- Co-authored-by: Michael Chirico <[email protected]>
1 parent 4f7f567 commit 6922a91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vignettes/datatable-joins.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ Products[!ProductReceived,
320320
on = c("id" = "product_id")]
321321
```
322322

323-
As you can see, the result only has 'banana', as it was the only product that is not present in the `ProductReceived` table.
323+
As you can see, the result only has 'soda', as it was the only product that is not present in the `ProductReceived` table.
324324

325325
```{r}
326326
ProductReceived[!Products,
@@ -390,7 +390,7 @@ Here some important considerations:
390390
- It didn't add the prefix `i.` to any column.
391391

392392
- **Row level**
393-
- All rows from in the `i` table were kept as we never received any banana but row is still part of the results.
393+
- All rows from the `i` table were kept: the soda entry from `Products` that was not matched by any row in `ProductReceived` is still part of the results.
394394
- The row related to `product_id = 6` is not part of the results any more as it is not present in the `Products` table.
395395

396396

0 commit comments

Comments
 (0)