loan: Loan Application and Approval Data

loanR Documentation

Loan Application and Approval Data

Description

A dataset containing information on loan applicants and their financial profiles, including demographic characteristics, employment status, income, loan details, credit score, asset values, and loan approval outcome.

Usage

data(loan)

Format

A data frame with 4269 observations and 13 variables:

loan_id

Unique identifier for each loan application; not intended as a predictor in modeling.

no_of_dependents

Number of dependents of the applicant.

education

Education level of the applicant: "graduate" or "not-graduate".

self_employed

Whether the applicant is self-employed: "yes" or "no".

income_annum

Annual income of the applicant.

loan_amount

Requested loan amount.

loan_term

Loan term.

cibil_score

Applicant's CIBIL credit score.

residential_assets_value

Value of the applicant's residential assets.

commercial_assets_value

Value of the applicant's commercial assets.

luxury_assets_value

Value of the applicant's luxury assets.

bank_asset_value

Value of the applicant's bank assets.

loan_status

Loan application outcome: "approved" or "rejected".

Details

This dataset was obtained from Kaggle and renamed loan for inclusion in the liver package. It can be used to illustrate methods for classification, exploratory data analysis, and predictive modeling in R.

Source

https://www.kaggle.com/datasets/architsharma01/loan-approval-prediction-dataset

References

Reza Mohammadi (2025). Data Science Foundations and Machine Learning with R: From Data to Decisions. https://book-data-science-r.netlify.app.

See Also

mortgage, bank, churn_mlc, churn, churn_tel, adult, cereal, advertising, marketing, drug, house, house_price, red_wines, white_wines, insurance, caravan, fertilizer, corona

Examples

data(loan)
str(loan)
summary(loan)

table(loan$loan_status)

liver documentation built on April 7, 2026, 9:07 a.m.