compare_entities
Compare one indicator across multiple entities, such as GDP of countries, to analyze cross-region differences and create comparative charts.
Instructions
Compare ONE indicator across MULTIPLE entities (e.g. GDP of DEU vs USA vs CHN). Returns wide-format rows like [{time:"2020", DEU:3846, USA:20937, CHN:14688}, …]. Use this for country comparisons, cross-region analyses, or any chart that compares the same metric across entities.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entities | Yes | Entity codes to compare (max 50). E.g. ["DEU","USA","CHN"] | |
| indicator | Yes | Indicator ID to compare. Get from list_indicators. | |
| time | No | Optional time range: "2010-2023" or "2020" |