joinDataTables: 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
key_1
character vector of key columns for first data.table
key_2
character vector of key columns for second data.table