Data Sources
AmericanEconomy combines U.S. and global macro indicators with market proxies.
Data is pulled by local scripts and loaded into american_economy.db.
| Dataset Group | Source | Coverage | Notes |
|---|---|---|---|
| U.S. Macro Time Series | FRED (St. Louis Fed) | 14 configured series | Growth, labor, inflation, rates, production, trade, credit, fiscal deficit. |
| Global Macro Indicators | World Bank API | Cross-country annual indicators | GDP level/growth, inflation, trade openness, debt, external balance. |
| Market Proxy Prices | Stooq | 7 symbols | SPY, QQQ, DIA, TLT, GLD, USO, UUP. |
| Manual Context | Local CSV | Regimes + metadata | Macro regime windows and transform preferences. |
Current Database Snapshot
- macro_indicators: 27,539 rows
- prices: 37,624 rows
- macro_regimes: 5 rows
- indicator_metadata: 12 rows
Fiscal Coverage
Verified rows: GOV_DEBT_GDP_PCT (USA, 1989-2024) and GOV_DEFICIT_GDP_PCT (USA, 1929-2024).
Operational Pull Commands
From the domain root:
./scripts/bootstrap_data.shpython scripts/init_db.pypython scripts/pull_world_bank_indicators.py
The World Bank pull now includes retries/backoff and per-indicator fail-open behavior so transient timeouts do not kill the full pull.