Skip to content

v1.1.0 — corrected UK disparity denominators

Choose a tag to compare

@copious-git copious-git released this 30 Aug 06:46
· 17 commits to main since this release

Corrects a denominator bug that understated UK stop-and-search disparity ratios.

Census 2021 uses 2021 local-authority codes; the local-authority to police-force lookup uses 2024 codes. The 17 districts abolished in the April 2023 local government reorganisation matched nothing, so 1,686,893 residents were silently dropped from the denominator. A partial denominator produces a wrong ratio rather than a blank one.

Force Group v1.0.0 v1.1.0
Avon and Somerset Black 4.3x 5.9x
North Yorkshire Black 4.0x 5.6x
North Yorkshire Asian 1.3x 2.6x
National Black 4.4x 4.5x

Cumbria is computable for the first time. The build now aborts on any unmatched local authority.

Also: every row without a ratio now records why (62 rows; 39 were previously blank without explanation), the canonical CC BY 4.0 legal code is in LICENSE, and the export and load scripts are committed rather than living in a scratchpad.