process.mergeMatches2LBK: Merge matching results into Loanbook

Description Usage Arguments Value

Description

Link each record of Loanbook to ALD data based on matches produced by matching egine. Merging is done on several levels: Assets, Borrowers, Ultimate Parents. Loanbook assets can be matched to Assets, Owners, Parents (considering priority). Loanbook loan-takers (Borrowers) can be matched to Owners or Parents. Loanbook Ultimate parents can be matched to ALD parents only. During data merge function follows priority of ALD levels:

  1. Assets, 2) Owners 3) Parents.

Usage

1
process.mergeMatches2LBK(loanbook, matches)

Arguments

loanbook
  • dataframe with loanbook data in stadard format see data.dataset.req.attrs requirements in part of Loanbook

matches
  • dataframe with match results

Value

Original loanbook dataframe plus 3 groups of columns related to Asset, Borrower, Ultimate Parent level from ALD side. Each group of columns consist of: ID, Level, Name. Columns of each group have their own prefixes: Asset.link.to; DO.link.to; UP.link.to


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