Pair2 v0.1.1 Pair2.DedupeRule View Source

Defines a rule for matching two sets of data.

attr = Attribute of map used for comparison. min_match = Value from 0.0 to 1.0 that sets the minimum threshold for counting a match. By default is 1.0 which means an exact match is required. indexed = Create an ETS index of right attributes if true. max_days = Used for date comparisons. Defines the maximum allowable date difference in days for a > 0.0 date comparison. weight = Multiplier of match value. Used to raise the relative importance of a given match rule over others. Should be >= 1.0. fun = function to apply to comparisons. desc = Human-friendly rule description.