rank_countries
Rank countries in a continent by GDP, population, or GDP per capita. Get top-N or bottom-N results with excluded countries listed and reasons.
Instructions
Top-N (or bottom-N with order='asc') countries of a continent by gdp, population, or gdp_per_capita. Same scope/year/currency/fx_date semantics as region_total. Countries without data for the requested year are excluded and listed with reasons.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | latest | |
| order | No | desc | |
| scope | No | continent | |
| top_n | No | ||
| metric | No | gdp | |
| fx_date | No | ||
| currency | No | USD | |
| continent | Yes |