Rank London postcode districts
rank_london_districtsLondon postcode districts ranked on one open-data measure: lowest_crime_rate (police.uk residential crime per 1,000 residents), cheapest_houses (Land Registry median sold price of existing houses; flats are not ranked), most_outstanding_schools (Ofsted), or shortest_commute (needs hub). Optional borough filter, commute cut-off and reversed order (most expensive, highest crime, longest commute first). Ranks are London-wide.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hub | No | For shortest_commute: the work hub. canary-wharf (Canary Wharf), city-of-london (Bank / Liverpool Street / Moorgate), kings-cross (King's Cross), westminster (Westminster), oxford-circus (Oxford Circus), london-bridge (London Bridge), paddington (Paddington), stratford (Stratford), hammersmith (Hammersmith), victoria (Victoria), waterloo (Waterloo), farringdon (Farringdon). | |
| limit | No | Rows to return (default 10, max 50). | |
| metric | Yes | What to rank on. | |
| borough | No | Only districts with postcodes in this London borough, e.g. "Lewisham". | |
| reverse | No | Worst first: highest crime, most expensive, fewest Outstanding schools, longest commute. | |
| max_minutes | No | For shortest_commute: only districts at or under this many minutes. |