Skip to contents

Long table of the cash flows of every default event of scr_demo_lgd: recoveries spread over up to four years for unsecured facilities, a collateral sale between one and three years in for mortgages, a repossession sale within nine months for cars, direct costs at the start of the workout and at the sale, and a few drawings after default. Cures carry only the payments that brought the facility back to performing.

Usage

scr_demo_lgd_cashflows

Format

A data.frame with 5,737 rows and 4 columns:

default_id

Default event identifier, matching scr_demo_lgd.

date

Date of the cash flow.

amount

Amount, always positive.

type

"recovery", "direct_cost" or "drawing".

Source

Synthetic. Generated by data-raw/scr_demo_lgd.R, seed 20260904, in the package source repository https://github.com/evandeilton/scorecraft.

Examples

head(scr_demo_lgd_cashflows)
#>   default_id       date amount        type
#> 1      D0001 2025-04-24 182.87 direct_cost
#> 2      D0001 2025-04-24 424.72    recovery
#> 3      D0001 2025-05-24 395.45    recovery
#> 4      D0001 2025-06-24 368.18    recovery
#> 5      D0001 2025-09-24 297.17    recovery
#> 6      D0001 2025-12-24 239.85    recovery
table(scr_demo_lgd_cashflows$type)
#> 
#> direct_cost     drawing    recovery 
#>        1389          24        4324