Compare an indicator's value across its official sources
compare_sourcesCompare one indicator across all official sources with full citations and the spread between them. Use when sources disagree or you need to know which official number to cite.
Instructions
Fetch one indicator for one country from EVERY official source in its chain independently (e.g. World Bank WDI and the IMF WEO/Fiscal Monitor) and see the values side by side, each with its own citation, plus the spread between them. Use when sources disagree, when you need to know WHICH official number to cite, or to check how large the methodological gap is (central vs general government, calendar vs fiscal year, vintage differences). Differences are methodological, never an error by a source — the result says which definition each value carries. Sources that are down report their error in place without sinking the comparison.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Optional year to compare at, e.g. '2023'. Default: the latest period all responding sources share. | |
| country | Yes | ISO3/ISO2 code or English name. | |
| indicator | Yes | Registry key, e.g. 'govt_debt_gdp', 'gdp_growth'. See search_indicators. |