pickBestMatches: Pick best matches

Description Usage Arguments Value

Description

Function pickes best matches from matches data frame provided. "Best" is defined based on order of "Level.global" values provided in ald.levels vector.

Usage

1
pickBestMatches(matches, local.level, ald.levels, first.dupl = T)

Arguments

matches
  • data frame with match results

local.level
  • which local level of loanbook data is gouing to be merged

ald.levels
  • vector of ALD data level in order of their priority

first.dupl
  • how to treat first duplicate: TRUE - keep it; FALSE - exclude duplicates completely

Value

dataframe with columns "ID.local", "Level.global", "ID.global", "Original.Value.global"


2DegreesInvesting/pacta documentation built on June 17, 2019, 12:04 p.m.