DataBrighten

    Sample loan data

    1,000 × 13rows × columns in the 1,000-row file

    Updated 3 November 2026. Fictional U.S. businesses and people, generated with a fixed seed.

    textnumberdateyes/no
    Largest file10,000rows; also 100 and 1,000
    Columns13with a data dictionary below
    Dates2024-01-01 – 2024-12-31range in the file
    LicenceCC0synthetic, free for any use

    What is in it

    Each row is one fictional personal-loan application in 2024: age, income, years employed, credit score, purpose, amount, term and debt-to-income ratio. Approval follows one fixed made-up rule (credit score and debt-to-income), and approved loans carry a rate and a standard amortized monthly payment you can check with PMT.

    More practice tables like this one: all 14 newer sample datasets.

    First rows

    point at a column to light it up

    application_idtextapplication_datedateagenumberannual_incomenumberemployment_yearsnumbercredit_scorenumberloan_purposetextloan_amountnumberterm_monthsnumberdebt_to_incomenumberapprovedyes/nointerest_ratenumbermonthly_paymentnumber
    LA700012024-04-1621725001733Medical18500600.311TRUE0.111403.16
    LA700022024-05-0347310001671Business15200360.351FALSE
    LA700032024-04-0636570005687Car34200360.31TRUE0.11241123.56
    LA700042024-06-25271145005789Home improvement9500360.09TRUE0.0827298.88
    LA700052024-04-11281195006760Debt consolidation27300360.298TRUE0.0912869.66
    LA700062024-06-27421040006716Car27600360.381TRUE0.104895.77
    LA700072024-07-1624660004752Debt consolidation20400600.189TRUE0.1055438.98
    LA700082024-07-0327720003768Medical29300600.338TRUE0.1009623.84
    LA700092024-08-2848645005653Car18800360.371FALSE
    LA700102024-08-2927825007839Home improvement13100360.335TRUE0.0682403.41

    Approval rate by loan purpose

    % approved, 1,000-row file

    Wedding72.4Home improvement69.7Other67.6Debt consolidation67.1Car64.8Medical64.2Business63.3
    Show as a table
    loan_purposevalue
    Wedding72.4
    Home improvement69.7
    Other67.6
    Debt consolidation67.1
    Car64.8
    Medical64.2
    Business63.3
    Source: DataBrighten synthetic data (seed 42), computed from the file you can download here.

    Data dictionary

    ColumnTypeMeaning
    application_idtextApplication number
    application_datedateApplied (2024)
    ageintegerApplicant age
    annual_incomeintegerStated income (USD, fictional)
    employment_yearsintegerYears with current employer
    credit_scoreinteger300-850
    loan_purposetextReason for the loan
    loan_amountintegerAmount requested (USD)
    term_monthsinteger36 or 60
    debt_to_incomedecimalExisting monthly debt / monthly income
    approvedbooleanApproved (TRUE/FALSE); a fixed fictional rule, not a real lender's
    interest_ratedecimalAnnual rate if approved, blank if not

    Practice questions

    answers checked in SQL and in Python

    What share of applications were approved?

    66.8%

    Excel

    =COUNTIF(K:K,TRUE)/1000

    SQL

    SELECT ROUND(100.0*SUM(approved)/COUNT(*),1) FROM loan_applications

    File: loan-applications-1000

    Average credit score of approved and declined applicants?

    approved TRUE: 718.8; approved FALSE: 622.5

    SQL

    SELECT CASE WHEN approved THEN 'TRUE' ELSE 'FALSE' END AS ok, ROUND(AVG(credit_score),1) AS cs FROM loan_applications GROUP BY ok ORDER BY cs DESC, ok

    File: loan-applications-1000

    Total amount approved by loan purpose?

    Debt consolidation $4,151,500; Car $1,688,100; Home improvement $1,662,900; Other $1,269,700; Medical $787,600; Business $781,500; Wedding $390,400

    SQL

    SELECT loan_purpose, SUM(loan_amount) AS amt FROM loan_applications WHERE approved GROUP BY loan_purpose ORDER BY amt DESC, loan_purpose

    Check one monthly_payment with Excel: =PMT(interest_rate/12, term_months, -loan_amount).

    File: loan-applications-1000