> ## Content Index
> Fetch the complete content index at: https://www.celestinokoroji.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# policedatR: A Comprehensive R Package for Stop and Search Data in England and Wales
- URL: https://www.celestinokoroji.com/policedatr-a-comprehensive-r-package-for-stop-and-search-data-in-england-and-wales/
- Published: 2026-10-22T15:31:42.000Z
- Updated: 2026-10-22T15:31:42.000Z
- Author: Celestin Okoroji
- Tags: 📚   Peer Reviewed Articles

Miles-Wilson, J., & Okoroji, C. (2026). *Crime Science*, 15, 11.

ABSTRACT

Research on Stop and Search in England and Wales is constrained by substantial barriers to data access, inconsistent geographic coverage, and technical complexity. This paper presents policedatR, an R package that addresses these challenges by providing streamlined access to comprehensive stop and search data from the data.police.uk Application Programming Interface (API). policedatR automates data acquisition across multiple geographic scales, enriches datasets with population estimates and geographic identifiers, and includes functions for analysing the data, including calculating ethnic disproportionality. We describe the architecture and main functionalities of policedatR and demonstrate its capabilities and utility with analyses of temporal trends, geographic variation and ethnic disparities at national (e.g. countrywide, Police Force Area) and local (e.g. sub-local authority) levels. We also provide an example of how data acquired using the package can be harmonised with other datasets (in this case the English Indices of Deprivation) to explore broader questions on stop and search and society. By transforming thousands of individual API calls into a straightforward analytical workflow, policedatR facilitates rigorous empirical research and supports democratic accountability in policing.

Read the paper (open access) [here](https://doi.org/10.1186/s40163-025-00266-6?ref=celestinokoroji.com).