FDIC Branch Analyzer
AI-powered banking market intelligence platform for analyzing FDIC branch data with comprehensive insights and professional reporting.
π Features
- Comprehensive Data Analysis: Detailed branch statistics, market share analysis, and growth trends
- AI-Powered Insights: Claude AI-generated analysis of banking strategies and market dynamics
- Professional Reports: Excel spreadsheets and PDF reports with charts, tables, and narrative analysis
- Multi-County Support: Analyze multiple counties simultaneously
- Historical Data: Access data from 2017-2024
- User-Friendly Interface: Modern, responsive web interface
π Quick Start
- Enter Counties:
- Single county:
Cook County, Illinois
- Multiple counties:
Cook County, Illinois; Los Angeles County, California
- Enter Years:
- Specific years:
2020,2021,2022
- All years:
all
(2017-2024)
-
Generate Analysis: Click βGenerate Analysisβ and wait for processing
- Download Reports: Get a ZIP file containing Excel and PDF reports
π What Youβll Get
Excel Report
- Raw branch data with detailed statistics
- Market share calculations
- Year-over-year comparisons
- Bank rankings and analysis
PDF Report
- Executive summary with key findings
- AI-generated insights and analysis
- Professional charts and tables
- Strategic recommendations
- Market dynamics overview
π οΈ Technical Details
- Data Source: FDIC Summary of Deposits (SOD) via BigQuery
- AI Engine: Claude 3.5 Sonnet for intelligent analysis
- Analysis Engine: Python with pandas, matplotlib, and reportlab
- Web Interface: Modern HTML5, CSS3, and JavaScript
π§ Setup for Developers
Prerequisites
- Python 3.8+
- BigQuery access
- Claude API key
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
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
- All credentials are stored in environment variables
- No sensitive data is committed to the repository
- BigQuery access is restricted to authorized users
- API keys are encrypted and secure
π€ Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
π License
This project is developed by NCRC (National Community Reinvestment Coalition) for banking market analysis and research purposes.
π₯ Authors
- Jad Edlebi - NCRC
- Jason Richardson - NCRC
π Links
π Support
For questions or support, please contact the NCRC team or create an issue on GitHub.