Download Data on UK Police and Crime
Overview
Downloads data from the 'UK Police' public data API, the full docs of which are available at https://data.police.uk/docs/. Includes data on police forces and police force areas, crime reports, and the use of stop-and-search powers.
- Fix errors with tests on some platforms.
- Improved internal handling of coordinates labelled other than "lat"/"lng".
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK12 OK2026-04-25
- NOTE11 OK, 3 NOTE2026-03-10
Documentation
- Help pages
- 17includes a package overview page
- Examples that run
- 0%13 never run
- Exported functions with examples
- 81%
- Documented parameters
- 100%
- Return-value docs
- 88%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 67%
- Median days to close, 50 most recently updated closed issues
- 0
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Releases over time
PRs over time
10 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/evanodell/ukpolice on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Show all practicesHide 2 practices
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- unarchivedReturned to CRAN2020-08-03
- 0.2.2Latest
- archivedRemoved from CRAN2020-07-14policy violation On Internet access
- 0.2.12020-05-31 · diff ↗
- 0.2.02020-05-24 · diff ↗ ·
added 7 exports
ukc_available, ukc_crime_coord, ukc_crime_loc, ukc_crime_poly, ukc_stop_search_coord, ukc_stop_search_loc, ukc_stop_search_poly - RR 4.0.0 released · 2020-04-24
- unarchivedReturned to CRAN2020-04-17
- archivedRemoved from CRAN2020-04-17check errors were not corrected in time failures in '\donttest' examples
- 0.1.42020-04-17 · diff ↗
- RR 3.6.0 released · 2019-04-26
Show 2 earlier eventsHide 2 earlier events
- 0.1.22019-04-02
- RR 3.5.0 released · 2018-04-23
Package metadata
- First published
- 2019-04-02
- Total releases
- 5 / 7 yrs
- License
- MIT + file LICENSE OSI
- Download size
- 333 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("ukpolice")The package provides a citation file that builds its entry when R runs it. Run citation() to see it.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.