fdic-branch-analyzer

FDIC Branch Analyzer

AI-powered banking market intelligence platform for analyzing FDIC branch data with comprehensive insights and professional reporting.

🌟 Live Demo

Visit the live application here!

πŸš€ Quick Start

  1. Enter Counties:
    • Single county: Cook County, Illinois
    • Multiple counties: Cook County, Illinois; Los Angeles County, California
  2. Enter Years:
    • Specific years: 2020,2021,2022
    • All years: all (2017-2024)
  3. Generate Analysis: Click β€œGenerate Analysis” and wait for processing

  4. Download Reports: Get a ZIP file containing Excel and PDF reports

πŸ“Š What You’ll Get

Excel Report

PDF Report

πŸ—οΈ Project Structure

fdic-branch-analyzer/
β”œβ”€β”€ web/                    # GitHub Pages static site
β”‚   β”œβ”€β”€ index.html         # Main interface
β”‚   β”œβ”€β”€ css/style.css      # Styling
β”‚   β”œβ”€β”€ js/app.js          # Frontend logic
β”‚   └── _config.yml        # GitHub Pages config
β”œβ”€β”€ src/                   # Core application
β”‚   β”œβ”€β”€ core/main.py       # Main orchestration
β”‚   β”œβ”€β”€ utils/             # Utilities
β”‚   β”œβ”€β”€ analysis/          # AI analysis
β”‚   └── reporting/         # Report generation
β”œβ”€β”€ config/                # Configuration
β”œβ”€β”€ docs/                  # Documentation
β”‚   β”œβ”€β”€ README.md          # User guide
β”‚   β”œβ”€β”€ API.md             # API documentation
β”‚   └── DEPLOYMENT.md      # Deployment guide
β”œβ”€β”€ scripts/               # Automation scripts
β”‚   └── deploy/            # Deployment scripts
└── data/                  # Data storage (gitignored)

πŸ› οΈ Technical Stack

πŸ”§ Development Setup

Prerequisites

Installation

git clone https://github.com/jadedlebi/fdic-branch-analyzer.git
cd fdic-branch-analyzer
pip install -r requirements.txt

Environment Setup

Create a .env file with:

# BigQuery Credentials
BQ_TYPE=service_account
BQ_PROJECT_ID=your-project-id
BQ_PRIVATE_KEY=your-private-key
BQ_CLIENT_EMAIL=your-client-email

# AI API Keys
CLAUDE_API_KEY=your-claude-key
OPENAI_API_KEY=your-openai-key

Running Locally

python run_web.py

Then visit http://127.0.0.1:5050

πŸš€ Deployment

./scripts/deploy/deploy.sh

Docker

docker build -t fdic-analyzer .
docker run -p 5000:5000 fdic-analyzer

Cloud Platforms

See docs/DEPLOYMENT.md for detailed deployment guides.

πŸ”’ Security

πŸ“š Documentation

🀝 Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests if applicable
  5. Submit a pull request

πŸ“„ License

This project is developed by NCRC (National Community Reinvestment Coalition) for banking market analysis and research purposes.

πŸ‘₯ Authors

πŸ“ž Support

For questions or support:


Built with ❀️ by NCRC for better banking market intelligence