Skip to content

ukpolice

0.2.2Package record

Download Data on UK Police and Crime

0packages depend
2.9Kdownloads / year
93.8%test coverage
13/13flavors OK

Overview

About

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.

Changes in 0.2.2
  • 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

CRAN checks
13OK
Slowest check: 1.4 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK12 OK2026-04-25
  • NOTE11 OK, 3 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.2.2
READMEYes · 234 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 0.2.2Citation fileYes · computed when R runs itWebsiteYes
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

2.9K
CRAN downloads in the past year
Rank #17,687 · ~8/day · ~243/mo
Daily download trend is not available in this view yet.
26930 days
73190 days
2.9K1 year
Compare downloads with other packages →
Also on90 r2u6 autocran

Repository

7Stars
0Forks
0Open issues
0Open PRs
5Releases
61Commits
2Commit identities
rr-packageukpolicepolice-apicrimeapi-client
61 commits · Last activity 2020-11-22 · Default branch at 0.2.2.9001, ahead of CRAN 0.2.2 (checked 2026-10-21)
Responsiveness
How these are sampled
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

2024-03-06 · 72026-07-07 · 7
PracticesBeta

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.

Continuous integration (4)
GitHub ActionsR CMD check workflowTravis CI (config file)AppVeyor

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (1)
Code of conduct
Docs source (2)
README.Rmdpkgdown
Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 2 practices
CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
16 external dependencies (excludes base and recommended)

Installing ukpolice adds 22 packages (15 with compiled code, 19 MB of source tarballs). Heaviest: stringi 11 MB, openssl 1.1 MB, jsonlite 1.0 MB.

Depends (0)
none
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (2)
Author, Maintainer since 0.1.2 (2019)
Author · added in 0.2.0
Releases (5)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • unarchivedReturned to CRAN
    2020-08-03
  • 0.2.2Latest
    record
    2020-08-03 · current release · diff ↗
  • archivedRemoved from CRAN
    2020-07-14
    policy violation On Internet access
  • 0.2.1
    record
    2020-05-31 · diff ↗
  • 0.2.0
    record
    2020-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
  • R
    R 4.0.0 released · 2020-04-24
  • unarchivedReturned to CRAN
    2020-04-17
  • archivedRemoved from CRAN
    2020-04-17
    check errors were not corrected in time failures in '\donttest' examples
  • 0.1.4
    record
    2020-04-17 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
Show 2 earlier eventsHide 2 earlier events
  • 0.1.2
    record
    2019-04-02
  • R
    R 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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for ukpolice version 0.2.2 [Data set]. HJJB, LLC. Data release v2026-10-24. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy