This is a simple wrapper to the
vlookup(x, data, key, value, nomatch = NA)
Vector of items to lookup in key-value pairs.
Dataframe containing key-value columns.
Vector of keys that are searched.
Vector of values to be returned.
The value to be returned in the case when no match is found. Note that it is coerced to integer.
A vector the same length as
x, but containing the values
x[i] is equal to
key[j], then the
value returned in the ith position of the vector is
If no match is found,
NA is returned.
Search for elements of
x in dataframe
key, and return the corresponding element of column
If no match is found, return