rank_areas
Rank every county or local authority in Ireland or the UK by any available statistic to identify which areas lead on metrics like housing prices or contract awards.
Instructions
Rank every area at one geography level by its latest figure for one stat,
for one country -- e.g. "which counties have the highest median sale price"
(country="ireland") or "which local authorities award the most single-bid
contracts" (country="united-kingdom"). stat_key comes from
list_datasets(country=...) for the SAME country -- Ireland and the UK
track different stats. level omitted uses this ranking's own default
level; pass one of that dataset's own compatible_levels for a different
one -- a level this ranking doesn't have registered returns an empty list
rather than an error.
Where the underlying stat has no honest per-area denominator (crime,
homelessness, live_register and similar -- StatsMapped's own
RANKING_NO_DENOMINATOR_STATS), each row's rate_per_1000 is the real
figure to rank/compare by, not latest_value, which is a raw count
dominated by area population size. Always carry forward every entry in
caveats when using a row in an answer -- the same caveats StatsMapped's
own ranking pages and chat both attach to these figures.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | ||
| country | No | ireland | |
| stat_key | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |