Evaluate custom criterion
evaluate_custom_criterionEvaluate a criterion from places on the map for every London neighbourhood ('where are more cafés than kebab shops', 'most gyms in the area'), counting the places inside each neighbourhood's boundary: a preset_id or the user's own criterion (sets of OSM tag matchers and a formula). Returns the best and worst areas with place counts and London percentiles, the legend and a map link that shows it as a layer. Places, never people: religion or who lives there is refused.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_n | No | How many top and bottom areas to list. | |
| area_ids | No | Also report these areas (LSOA ids from search_places). | |
| criterion | No | Or the user's own criterion. | |
| direction | No | Which end the user wants (for the top list and the map link). | |
| preset_id | No | A ready-made criterion from list_custom_presets. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||