nonfarmpayroll

📊 US Employment Statistics Dashboard

Live Dashboard: https://kafka2306.github.io/nonfarmpayroll/

Fully automated system for analyzing US Nonfarm Payroll Employment data with monthly updates, revision tracking, and uncertainty quantification.

🎯 What This Does

📊 Key Insights

Employment Data Reliability

Why This Matters

🚀 Features

Automated Data Pipeline

Interactive Dashboard

Advanced Analytics

🔧 Setup Instructions

One-Time Repository Setup

  1. Fork/Clone: Copy this repository to your GitHub account
  2. Enable GitHub Pages:
    • Go to Settings → Pages
    • Set Source to: “GitHub Actions”
  3. Set Permissions:
    • Go to Settings → Actions → General
    • Enable: “Read and write permissions”
  4. Initialize Dashboard:
    • Go to Actions tab
    • Click “Initial Repository Setup”
    • Click “Run workflow” → “Run workflow”
    • Wait 2-3 minutes for completion

Verification

📅 How Automation Works

Monthly Updates (Automatic)

Schedule: First Friday of each month at 10:30 AM EST
Process: 
  1. Download latest FRED employment data
  2. Calculate revision statistics and uncertainty
  3. Update all dashboard charts and tables
  4. Deploy to GitHub Pages
  5. Generate success/failure report

Daily Health Checks (Automatic)

Schedule: Every day at 12:00 PM UTC
Process:
  1. Check if dashboard is accessible (HTTP 200)
  2. Verify data is fresh (less than 40 days old)
  3. Auto-trigger update if data is stale
  4. Generate health status report

Manual Controls (As Needed)

📊 Understanding the Data

Employment Numbers

Revision Patterns

Quality Metrics

🔍 Technical Details

Data Sources

System Architecture

FRED API → Python Scripts → Data Processing → Dashboard → GitHub Pages
    ↓           ↓               ↓              ↓           ↓
Real Data → Clean/Analyze → Charts/Tables → Web Interface → Public URL

File Structure

├── dashboard.html          # Main web interface
├── dashboard.css           # Professional styling
├── dashboard.js            # Interactive functionality
├── scripts/
│   ├── 01_download_fred.py # Data collection from FRED
│   └── 03_merge_revisions.py # Statistical analysis
├── .github/workflows/      # Automation workflows
│   ├── update-dashboard.yml # Monthly data updates
│   ├── deploy-static.yml   # UI deployment
│   ├── health-check.yml    # Daily monitoring
│   └── initial-setup.yml   # One-time setup
└── requirements.txt        # Python dependencies

📈 Usage Examples

For Economists

For Traders/Investors

For Policymakers

For Students/Public

🚨 Troubleshooting

Dashboard Not Loading

  1. Check if GitHub Pages is enabled (Settings → Pages)
  2. Verify Actions workflow completed successfully
  3. Try hard refresh (Ctrl+F5) to clear cache
  4. Check Actions tab for any failed workflows

Data Not Updating

  1. Check if it’s been >40 days since last update
  2. Health check should auto-trigger updates
  3. Manually run “Update Employment Statistics Dashboard” workflow
  4. Check FRED API status (rarely down)

Workflow Failures

  1. Check Actions tab for detailed error logs
  2. Most failures are temporary (network issues, API limits)
  3. Re-run failed workflow (usually fixes the issue)
  4. Verify repository permissions are correct

📞 Support

Self-Service

Getting Help

  1. Check Actions tab workflow logs for specific errors
  2. Verify GitHub Pages and Actions settings are correct
  3. Try re-running failed workflows
  4. Most issues are temporary and resolve automatically

🎊 Success Metrics

System Performance

Business Impact


🚀 Ready to Use

Your dashboard is fully automated and will:

Live Dashboard: https://kafka2306.github.io/nonfarmpayroll/

Next Update: First Friday of next month (automatic)