Description Usage Arguments Value Examples
Function that encapsulates common pre- and post- join operations with data tables. Data table 2 is joined to data table 1 on keys that do not need to have the exact same names. The user can optionally specify which columns from data table 2 are joined to data table 1 and those columns can be optionally prefixed in the result.
1 |
dt1 |
The first data table in the join, all columns and rows from dt1 will be present in the result with columns from dt2 added where keys match. |
dt2 |
The second data table in the join, dt2 should be seens as contributing data to the rows of dt1. |
keys1 |
The columns form dt1 to use as keys in the join. |
keys2 |
The columns form dt2 to use as keys in the join. Leave as NULL if the keys from dt2 are identical to keys1. |
include.from.dt2 |
The columns from dt2 to add to dt1. Leave as NULL to include all columns. |
included.prefix |
Optional prefix to append to the columns from dt2 that are added to dt1. |
A data table is the result of joining specified columns from dt2 to dt1.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.