faostat_get_rankings
Rank countries by a selected FAOSTAT domain, item, element, and year to compare agricultural statistics; set a limit and choose compact, object, or CSV output.
Instructions
Rank countries by a domain item/element/year. element_code is a DISPLAY code (QCL Production: 5510), unlike get_data filter code 2510. limit=10. response_format defaults to compact; objects and csv are supported.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | en | |
| year | Yes | ||
| limit | No | ||
| item_code | Yes | ||
| domain_code | Yes | ||
| element_code | Yes | ||
| response_format | No | compact |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |