compare_sources
Compare source readings. Default mode returns latest IMF, World Bank and UN readings with their own years. For the 20-economy, 10-concept research pilot, provide country_id and year (exact year or common) to compare IMF and World Bank in the same period, inspect definition mismatches and retrieve recorded-state provenance. Optional as_of and revision pin SOTW stored state, not publisher availability.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Opt into the research pilot: exact year or latest common past year. Requires country_id. | |
| as_of | No | Optional SOTW recording cutoff: date at UTC midnight or ISO timestamp with timezone. Publisher availability is not established. | |
| revision | No | Archive transaction watermark returned by an earlier comparison. Requires as_of. | |
| country_id | No | Optional ISO3 code to return a single country instead of all | |
| indicator_id | Yes | Concept key, e.g. IMF.NGDPD (GDP), IMF.NGDPDPC (GDP per capita), IMF.NGDP_RPCH (real growth) | |
| processing_version | No | Pin the comparison processing contract. |