Connector Details
Type
Virtual machines, Single VM , BYOL
Runs on
Google Compute Engine
Last Update
24 October, 2024
Category
UK Police Data Connector
Connector Details
Type
Virtual machines, Single VM , BYOL
Runs on
Google Compute Engine
Last Update
24 October, 2024
Category
Overview
The UK Police Data Connector facilitates seamless integration with the UK Police Data API, providing access to police-related data including neighbourhood team members, upcoming events, street-level crime and outcome data, and nearest police stations for UK police forces. This connector acts as a proxy to streamline data retrieval, supporting actions for force details, crime data, neighbourhood information, and stop-and-search records.
Integration Overview
This document provides a detailed guide for each integration point, its purpose, configuration, and workflow support using the UK Police Data Connector on Google Cloud Platform (GCP).
Supported Integration Action Points
Detailed Integration Documentation
List All Police Forces
Action | listForces |
Purpose | Retrieves a comprehensive list of all UK police forces. This serves as the primary entry point for accessing police force data. |
Parameters |
|
Configuration | Ensure the connector is configured with the base URL via the CONNECTOR_ENV_UKPOLICEDATA_BASE_URL environment variable in GCP (e.g., https://data.police.uk/api). |
Output |
|
Workflow Example |
|
Get Specific Police Force
Action | getForce |
Purpose | Retrieves details for a specific UK police force, useful for understanding force-specific information. |
Parameters |
|
Configuration | Ensure the connector is configured with the correct base URL. |
Output |
|
Workflow Example |
|
Get Senior Officers
Action | getForceSeniorOfficers |
Purpose | Retrieves a list of senior officers for a specific police force, enabling access to leadership information. |
Parameters |
|
Configuration | Ensure the connector is configured with the correct base URL. |
Output |
|
Workflow Example |
|
Get Street-Level Crimes
Action | getStreetLevelCrimes |
Purpose | Retrieves street-level crime data for a specified area or polygon, useful for crime mapping and analysis. |
Parameters |
|
Configuration | Ensure the connector is configured with the correct base URL. |
Output |
|
Workflow Example |
|
Get Available Crime Dates
Action | getCrimesStreetDates |
Purpose | Retrieves available dates for street-level crime data, enabling users to select valid time periods for queries. |
Parameters |
|
Configuration | Ensure the connector is configured with the correct base URL. |
Output |
|
Workflow Example |
|
Get Street-Level Outcomes
Action | getStreetLevelOutcomes |
Purpose | Retrieves street-level crime outcomes for a specified location, useful for understanding case resolutions. |
Parameters |
|
Configuration | Ensure the connector is configured with the correct base URL. |
Output |
|
Workflow Example |
|
Get Crimes at Location
Action | getCrimesAtLocation |
Purpose | Retrieves crimes at a specific location, enabling precise crime data analysis. |
Parameters |
|
Configuration | Ensure the connector is configured with the correct base URL. |
Output |
|
Workflow Example |
|
Get Crimes with No Location
Action | getCrimesNoLocation |
Purpose | Retrieves crimes without specific location data, useful for force-wide crime analysis. |
Parameters |
|
Configuration | Ensure the connector is configured with the correct base URL. |
Output |
|
Workflow Example |
|
Get Crime Categories
Action | getCrimeCategories |
Purpose | Retrieves available crime categories, enabling users to validate or select categories for queries. |
Parameters |
|
Configuration | Ensure the connector is configured with the correct base URL. |
Output |
|
Workflow Example |
|
Get Last Updated Date
Action | getCrimeLastUpdated |
Purpose | Retrieves the last updated date for crime data, ensuring users query the most recent data. |
Parameters |
|
Configuration | Ensure the connector is configured with the correct base URL. |
Output |
|
Workflow Example |
|
Get Outcomes for Crime
Action | getOutcomesForCrime |
Purpose | Retrieves outcomes for a specific crime, providing resolution details. |
Parameters |
|
Configuration | Ensure the connector is configured with the correct base URL. |
Output |
|
Workflow Example |
|
List Neighbourhoods
Action | listNeighbourhoods |
Purpose | Retrieves a list of neighbourhoods for a specific police force, enabling area-specific analysis. |
Parameters |
|
Configuration | Ensure the connector is configured with the correct base URL. |
Output |
|
Workflow Example |
|
Get Neighbourhood Details
Action | getNeighbourhood |
Purpose | Retrieves details for a specific neighbourhood, useful for community policing insights. |
Parameters |
|
Configuration | Ensure the connector is configured with the correct base URL. |
Output |
|
Workflow Example |
|
Get Neighbourhood Boundary
Action | getNeighbourhoodBoundary |
Purpose | Retrieves the geographic boundary for a neighbourhood, enabling geospatial analysis. |
Parameters |
|
Configuration | Ensure the connector is configured with the correct base URL. |
Output |
|
Workflow Example |
|
Get Neighbourhood Team
Action | getNeighbourhoodTeam |
Purpose | Retrieves team members for a neighbourhood, providing community policing contact information. |
Parameters |
|
Configuration | Ensure the connector is configured with the correct base URL. |
Output |
|
Workflow Example |
|
Get Neighbourhood Events
Action | getNeighbourhoodEvents |
Purpose | Retrieves upcoming events for a neighbourhood, enabling community engagement. |
Parameters |
|
Configuration | Ensure the connector is configured with the correct base URL. |
Output |
|
Workflow Example |
|
Get Neighbourhood Priorities
Action | getNeighbourhoodPriorities |
Purpose | Retrieves policing priorities for a neighbourhood, providing insight into local policing focus. |
Parameters |
|
Configuration | Ensure the connector is configured with the correct base URL. |
Output |
|
Workflow Example |
|
Locate Neighbourhood by Coordinates
Action | locateNeighbourhood |
Purpose | Locates a neighbourhood by geographic coordinates, enabling location-based services. |
Parameters |
|
Configuration | Ensure the connector is configured with the correct base URL. |
Output |
|
Workflow Example |
|
Get Stop and Searches by Area
Action | getStopAndSearchesByArea |
Purpose | Retrieves stop-and-search records for a specified area, useful for transparency and analysis. |
Parameters |
|
Configuration | Ensure the connector is configured with the correct base URL. |
Output |
|
Workflow Example |
|
Get Stop and Searches at Location
Action | getStopAndSearchesAtLocation |
Purpose | Retrieves stop-and-search records at a specific location, enabling precise analysis. |
Parameters |
|
Configuration | Ensure the connector is configured with the correct base URL. |
Output |
|
Workflow Example |
|
Get Stop and Searches with No Location
Action | getStopAndSearchesNoLocation |
Purpose | Retrieves stop-and-search records without specific location data, useful for force-wide analysis. |
Parameters |
|
Configuration | Ensure the connector is configured with the correct base URL. |
Output |
|
Workflow Example |
|
Get Stop and Searches by Force
Action | getStopAndSearchesByForce |
Purpose | Retrieves stop-and-search records for a specific police force, enabling force-level transparency. |
Parameters |
|
Configuration | Ensure the connector is configured with the correct base URL. |
Output |
|
Workflow Example |
|
Workflow Creation with the Connector
Example Workflow: Crime and Neighbourhood Analysis on GCP
Retrieve Police Forces |
Use the listForces action to fetch a list of available police forces.Identify a target force (e.g., metropolitan). |
Query Neighbourhoods |
Execute the listNeighbourhoods action with force=metropolitan to fetch neighbourhoods.Select a neighbourhood (e.g., id=abc123 ) for further analysis.
|
Fetch Crime Data |
Use the getStreetLevelCrimes action with lat=51.5074 , lng=-0.1278 , and date=2023-01 to retrieve crime data.Process the response to map crimes in a GCP Cloud Run application. |
Analyze Outcomes |
Execute the getStreetLevelOutcomes action with lat=51.5074 , lng=-0.1278 , and date=2023-01 to fetch crime outcomes.Store results in GCP BigQuery for trend analysis. |
Enhance UI with Neighbourhood Data |
Execute the getNeighbourhoodEvents and getNeighbourhoodPriorities actions with force=metropolitan and id=abc123 to fetch events and priorities.Integrate data into a GCP App Engine-hosted UI for community engagement. |
This workflow enables applications to provide users with accurate time zone data and conversions, enhancing global time management and scheduling capabilities.
Pricing
iSolution logo - white - transparent 250 px
Register To Palo Alto & iSolution Event
[forminator_form id=”14485″]
[forminator_form id=”14419″]
[forminator_form id=”14298″]
[forminator_form id=”13094″]