safeLookup: Function to safely append values to a data.table from another...

View source: R/transformations.R

safeLookupR Documentation

Function to safely append values to a data.table from another data.table via keys

Description

Function to safely append values to a data.table from another data.table via keys

Usage

safeLookup(data, lookup, by, select = setdiff(colnames(lookup), by))

Arguments

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

Value

data set with new fields


madedotcom/retl documentation built on Sept. 19, 2022, 3:28 a.m.