Match by Date (Blocking)
Description
Finds matches between the DATE
-columns in the inputs.
Input
A [OBJ,DATE]
: a list of candidates, in which theDATE
-column will be used for comparison and theOBJ
-column will be the resultB [OBJ,DATE]
: a list of candidates, in which theDATE
-column will be used for comparison and theOBJ
-column will be the resultCandidates [OBJ,OBJ]
: candidate pairs, onlyA
s andB
s that are in Candidates will be matched
Output
RESULT [OBJ,OBJ]
: the matched objects fromA
andB
NOTA [OBJ]
: the objects from A that did not match with an item fromB
NOTB [OBJ]
: the objects from B that did not match with an item fromA
Parameters
Comparison
: Comparison function to use (=
,!=
,<
,>
,<=
,>=
,day-distance
)Max day-distance
: whenComparison
is set today-distance
, the match is valid only if the difference in days between the two dates is not greater than this valueExclude self-matches
: whether to emit the match if the objects inA
andB
are the same. Mostly useful whenA
andB
come from the same source