vl.lookup(lookup)
Extend input data with values from another data source.
lookup
Method Overviewlookup
API Reference# lookup.as(…value)
The output fields on which to store the looked up data values.
For data lookups, this property may be left blank if from.fields
has been specified (those field names will be used); if from.fields
has not been specified, as
must be a string.
For selection lookups, this property is optional: if unspecified, looked up values will be stored under a property named for the selection; and if specified, it must correspond to from.fields
.
# lookup.default(value)
The default value to use if lookup fails.
Default value: null
# lookup.from(value)
Data source or selection for secondary data reference.
# lookup.lookup(value)
Key in primary data source.