Loan as unit of observation file with loan term, dates, categorization, etc.
Examples
data(tstm_loans)
print(tstm_loans)
#> # A tibble: 20,940 × 36
#> loan_id S_region provid_Num vilid_Num hhid_Num surveymonth institutional
#> <int> <chr> <chr> <dbl> <dbl> <dbl> <lgl>
#> 1 1 CENTRAL Chacheongsao(C… 702 70203 12 FALSE
#> 2 2 CENTRAL Chacheongsao(C… 702 70203 15 FALSE
#> 3 3 CENTRAL Chacheongsao(C… 702 70203 39 TRUE
#> 4 4 CENTRAL Chacheongsao(C… 702 70203 51 TRUE
#> 5 5 CENTRAL Chacheongsao(C… 702 70203 64 FALSE
#> 6 6 CENTRAL Chacheongsao(C… 702 70203 64 FALSE
#> 7 7 CENTRAL Chacheongsao(C… 702 70203 65 TRUE
#> 8 8 CENTRAL Chacheongsao(C… 702 70203 74 FALSE
#> 9 9 CENTRAL Chacheongsao(C… 702 70203 74 TRUE
#> 10 10 CENTRAL Chacheongsao(C… 702 70203 77 TRUE
#> # ℹ 20,930 more rows
#> # ℹ 29 more variables: forinfm3 <chr>, formal <lgl>, formalqf <lgl>,
#> # G_LenderType <chr>, calenderyear <dbl>, calendermonth <chr>,
#> # S_Init_Interest_Has <chr>, S_Init_Interest_Rate <dbl>,
#> # S_Init_Interest_MthAnnWk <chr>, S_Init_Amount <dbl>,
#> # S_Init_Interest_IntMthlyRat <dbl>, G_Location <chr>,
#> # G_Loan_Init_Length <dbl>, G_Loan_Init_IntTotRat <dbl>, …