Skip to content

Commit

Permalink
Join vignette (#6478)
Browse files Browse the repository at this point in the history
Co-authored-by: rikivillalba <[email protected]>
Co-authored-by: Toby Dylan Hocking <[email protected]>
  • Loading branch information
3 people authored Oct 7, 2024
1 parent 036fb48 commit dea1e5d
Show file tree
Hide file tree
Showing 7 changed files with 721 additions and 23 deletions.
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ Authors@R: c(
person("Anirban", "Chetia", role="ctb"),
person("Doris", "Amoakohene", role="ctb"),
person("Ivan", "Krylov", role="ctb"),
person("Angel", "Feliz", role="ctb"),
person("Michael","Young", role="ctb"),
person("Mark", "Seeto", role="ctb")
)
6 changes: 3 additions & 3 deletions vignettes/datatable-intro.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ ans

**Keys:** Actually `keyby` does a little more than *just ordering*. It also *sets a key* after ordering by setting an `attribute` called `sorted`.

We'll learn more about `keys` in the *Keys and fast binary search based subset* vignette; for now, all you have to know is that you can use `keyby` to automatically order the result by the columns specified in `by`.
We'll learn more about `keys` in the `vignette("datatable-keys-fast-subset", package="data.table")`; for now, all you have to know is that you can use `keyby` to automatically order the result by the columns specified in `by`.

### c) Chaining

Expand Down Expand Up @@ -655,7 +655,7 @@ We have seen so far that,

* We can also sort a `data.table` using `order()`, which internally uses data.table's fast order for better performance.

We can do much more in `i` by keying a `data.table`, which allows for blazing fast subsets and joins. We will see this in the *"Keys and fast binary search based subsets"* and *"Joins and rolling joins"* vignette.
We can do much more in `i` by keying a `data.table`, which allows for blazing fast subsets and joins. We will see this in the `vignette("datatable-keys-fast-subset", package="data.table")` and the `vignette("datatable-joins", package="data.table")`.

#### Using `j`:

Expand Down Expand Up @@ -689,7 +689,7 @@ We can do much more in `i` by keying a `data.table`, which allows for blazing fa

As long as `j` returns a `list`, each element of the list will become a column in the resulting `data.table`.

We will see how to *add/update/delete* columns *by reference* and how to combine them with `i` and `by` in the next vignette.
We will see how to *add/update/delete* columns *by reference* and how to combine them with `i` and `by` in the next vignette (`vignette("datatable-reference-semantics", package="data.table")`).

***

Expand Down
Loading

0 comments on commit dea1e5d

Please sign in to comment.