API AccessAccess dataset files directly from scripts, code, or AI agents.
Browse dataset files
Access dataset files directly from scripts, code, or AI agents.
Dataset Files
Each file has a stable URL (r-link) that you can use directly in scripts, apps, or AI agents. These URLs are permanent and safe to hardcode.
/luccasmmg/crime-uk/
https://datahub.io/luccasmmg/crime-uk/_r/-/.gitignore
https://datahub.io/luccasmmg/crime-uk/_r/-/README.md
https://datahub.io/luccasmmg/crime-uk/_r/-/UPDATE_SCRIPT_MAINTENANCE_REPORT.md
https://datahub.io/luccasmmg/crime-uk/_r/-/data/forces.csv
https://datahub.io/luccasmmg/crime-uk/_r/-/data/forces.json
https://datahub.io/luccasmmg/crime-uk/_r/-/datapackage.json
https://datahub.io/luccasmmg/crime-uk/_r/-/package-lock.json
https://datahub.io/luccasmmg/crime-uk/_r/-/package.json
Key Files
Start with these files — they give you everything you need to understand and access the dataset.
datapackage.json— metadata & schema
https://datahub.io/luccasmmg/crime-uk/_r/-/datapackage.json
README.md— documentation
https://datahub.io/luccasmmg/crime-uk/_r/-/README.md
Typical Usage
- 1. Fetch datapackage.json to inspect schema and resources
- 2. Download data resources listed in datapackage.json
- 3. Read README.md for full context
Data Previews
forces
Loading data...
Schema
| name | type |
|---|---|
| id | string |
| label | string |
Data Files
| File | Description | Size | Last modified | Download |
|---|---|---|---|---|
forces | 1.56 kB | about 2 months ago | forces |
| Files | Size | Format | Created | Updated | License | Source |
|---|---|---|---|---|---|---|
| 1 | 1.56 kB | csv | about 2 months ago | Open Data Commons Public Domain Dedication and License v1.0 | Police.uk data |
Update Script Maintenance Report
Date: 2026-03-03
- Modernized scraper compatibility in
scripts/scrape.js:- switched source page to HTTPS,
- replaced deprecated
path.existsSyncwithfs.existsSync, - migrated OSGB36 conversion from unmaintained
proj4jsusage toproj4, - added missing CLI command wiring in npm scripts.
- Reworked force metadata collection to use live API endpoint
https://data.police.uk/api/forces.npm run scrapelinksnow stores force metadata incache/linklist.json.npm run scrapeforcesnow writesdata/forces.csvanddata/forces.jsonfrom API results.
- Added
package.jsonand lockfile for reproducible local/CI runs. - Added first GitHub Actions automation workflow at
.github/workflows/actions.ymlto refresh metadata on schedule. - Updated
scripts/README.mdto document runnable commands.