Compare countries
compare_countriesReturns one value of one indicator for up to 20 countries or regions: for the given year, or the latest observed value in each country when no year is given. Each value has its own period and chart link; projections are labelled. Codes without data are listed separately.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Calendar year. Omit for the latest observed value. | |
| countries | Yes | ISO3 codes of the countries or regions to compare. | |
| indicator | Yes | Indicator slug from search_indicators, for example cpi-inflation. |