<p>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 <i>policedatR</i>, 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). <i>policedatR</i> 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 <i>policedatR</i> 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, <i>policedatR</i> facilitates rigorous empirical research and <i>supports</i> democratic accountability in policing.</p>

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

policedatR: a comprehensive R package for stop and search data in England and Wales

  • Jolyon Miles-Wilson,
  • Celestin Okoroji

摘要

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.