fdic-branch-analyzer

FDIC Branch Analyzer

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

🌟 Features

πŸš€ 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

πŸ› οΈ Technical Details

πŸ”§ Setup for Developers

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

πŸ“ Project Structure

fdic-branch-analyzer/
β”œβ”€β”€ web/                    # GitHub Pages static site
β”‚   β”œβ”€β”€ index.html         # Main interface
β”‚   β”œβ”€β”€ css/style.css      # Styling
β”‚   └── js/app.js          # Frontend logic
β”œβ”€β”€ src/                   # Core application
β”‚   β”œβ”€β”€ core/main.py       # Main orchestration
β”‚   β”œβ”€β”€ utils/             # Utilities
β”‚   β”œβ”€β”€ analysis/          # AI analysis
β”‚   └── reporting/         # Report generation
β”œβ”€β”€ config/                # Configuration
β”œβ”€β”€ docs/                  # Documentation
└── data/                  # Data storage

πŸ”’ Security

🀝 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, please contact the NCRC team or create an issue on GitHub.