joinDataTables {panelaggregation} | R Documentation |
Joins two data.tables based on keys
Description
This function joins two data.table objects, given a common key, which can have different names in the two tables. In the latter case, the sequence of the names is crucial. Make sure that the key columns match exactly.
Usage
joinDataTables(dt_1, dt_2, key_1, key_2 = key_1)
Arguments
dt_1 |
first data.table |
dt_2 |
second data.table |
key_1 |
character vector of key columns for first data.table |
key_2 |
character vector of key columns for second data.table |
Value
joined data.table
Author(s)
Matthias Bannert, Gabriel Bucur
[Package panelaggregation version 0.1.1 Index]