Find UK Police Neighbourhood
ukcrime_find_neighbourhoodFind the police force and neighbourhood policing team for a point, or look one up by force and neighbourhood id. Returns the team's description, contact channels and police stations, its current priorities with the action taken, team members' ranks and names, and upcoming engagement events. include adds the boundary polygon, needed only to split a neighbourhood too large to search into smaller polygons: ukcrime_search_crimes, ukcrime_search_outcomes and ukcrime_search_stops take the neighbourhood directly through area 'neighbourhood'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Latitude, WGS84 decimal degrees, to look up by point (with lng). | |
| lng | No | Longitude, WGS84 decimal degrees, to look up by point (with lat). | |
| force | No | Force id such as 'leicestershire', or its name such as 'Leicestershire Police' (ukcrime_list_reference topic 'forces' lists both), to look up by id (with neighbourhood_id); case-insensitive, spaces, underscores and hyphens match each other, '&' matches 'and', and a trailing 'Police', 'Police Service' or 'Constabulary' is optional. | |
| include | No | Optional sections to load: 'priorities', 'team', 'events', 'boundary'. Omitted: priorities, team and events. [] loads none of them. | |
| neighbourhood_id | No | Neighbourhood id from ukcrime_list_reference topic 'neighbourhoods', to look up by id (with force). Case-sensitive; only trimmed. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gaps | No | The force's known coverage gaps, each ending with the date the table was verified. | |
| team | No | Team members' ranks and names; present when include has 'team' and they loaded. | |
| error | No | Present when the call failed. Absent on success. | |
| force | No | The police force the neighbourhood belongs to, as published. | |
| found | No | True when data.police.uk holds a neighbourhood team for the point or id. | |
| events | No | Every upcoming engagement event the force published, soonest first and undated last; present when include has 'events' and they loaded. | |
| notice | No | Parts that could not be loaded from data.police.uk, and how to retry. | |
| boundary | No | The neighbourhood boundary; present when include has 'boundary' and it loaded. | |
| guidance | No | Why nothing was found and what to try instead; present when found is false. | |
| data_note | No | What these records can and cannot say; read it before drawing conclusions. | |
| priorities | No | The team's current priorities, force-written; present when include has 'priorities' and they loaded. | |
| attribution | No | Open Government Licence attribution for data.police.uk data. | |
| events_total | No | Upcoming events published; every one is in events. | |
| located_from | No | The point looked up, for a point lookup. | |
| neighbourhood | No | The neighbourhood policing team and its public channels, as the force publishes them; an optional field is absent when unpublished, and all text is force-written. |