eurostat_get_ranking
Ranks countries by a Eurostat indicator for a specified year, sorted descending by value. Helps fact-checkers compare EU nations against official statistics.
Instructions
Rank countries by a Eurostat indicator value.
Args: dataset_code: Eurostat dataset code. metric: Metric/na_item code. year: Year to rank on. If None, uses most recent available. geo_scope: Geographic scope filter (unused in basic implementation).
Returns: List of RankingEntry sorted by value descending.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | ||
| metric | Yes | ||
| geo_scope | No | EU27 | |
| dataset_code | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |