| title | tags | created | ||||
|---|---|---|---|---|---|---|
Fiction Bank dbt Project |
|
2026-01-22 |
A fictional western-themed bank specializing in small real estate loans and personal lending.
Fiction Bank focuses on:
- Primary Mortgages - Residential home loans
- Home Equity Loans - Home equity lines of credit
- Personal Loans - Unsecured personal lending
loan_types.csv- Reference table for loan product typesraw_loans.csv- Loan account informationraw_loan_payments.csv- Payment transaction history
stg_loans- Cleaned loan account datastg_loan_payments- Cleaned payment transactions
fct_loan_details- Analytics table joining loans with loan types, includes LTV calculationsfct_monthly_loan_summary- Monthly aggregation of originations and payment activity
The project tracks:
- Loan originations by month and type
- Payment collection metrics
- Loan-to-value (LTV) ratios for real estate loans
- Average loan sizes and interest rates
# Install dependencies
dbt deps
# Load seed data
dbt seed
# Run all models
dbt run
# Run tests
dbt test