View source: R/transformations.R
safeLookup | R Documentation |
Function to safely append values to a data.table from another data.table via keys
safeLookup(data, lookup, by, select = setdiff(colnames(lookup), by))
data |
data.table to which fields will be appended |
lookup |
data.table from which fields will be appended |
by |
fields that represent the keys |
select |
fields that will be appended |
data set with new fields
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.