https://github.com/adamayoung/police-data-kit
A Swift Package for UK Police data providing a rich data source for information about crime and policing in England, Wales and Northern Ireland.
https://github.com/adamayoung/police-data-kit
crime-data crimes outcomes police policeforce spm swift swift-package-manager swiftpm
Last synced: about 1 month ago
JSON representation
A Swift Package for UK Police data providing a rich data source for information about crime and policing in England, Wales and Northern Ireland.
- Host: GitHub
- URL: https://github.com/adamayoung/police-data-kit
- Owner: adamayoung
- License: apache-2.0
- Created: 2021-05-06T10:01:09.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-02-26T21:24:50.000Z (over 2 years ago)
- Last Synced: 2025-12-04T15:17:02.829Z (7 months ago)
- Topics: crime-data, crimes, outcomes, police, policeforce, spm, swift, swift-package-manager, swiftpm
- Language: Swift
- Homepage: https://adamayoung.github.io/police-data-kit/documentation/policedatakit/
- Size: 449 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# PoliceDataKit
[](https://github.com/adamayoung/police-data-kit/actions/workflows/ci.yml)
[](https://github.com/adamayoung/police-data-kit/actions/workflows/integration.yml)
[](https://github.com/adamayoung/police-data-kit/actions/workflows/documentation.yml)
A Swift Package for retrieving open data about crime and policing in England,
Wales and Northern Ireland.
## Requirements
* Swift 5.9+
## Installation
### [Swift Package Manager](https://github.com/apple/swift-package-manager)
Add the PoliceDataKit package as a dependency to your `Package.swift` file, and
add it as a dependency to your target.
```swift
// swift-tools-version:5.9
import PackageDescription
let package = Package(
name: "MyProject",
dependencies: [
.package(url: "https://github.com/adamayoung/police-data-kit.git", from: "4.0.0")
],
targets: [
.target(
name: "MyProject",
dependencies: [
.product(name: "police-data-kit", package: "PoliceDataKit")
]
)
]
)
```
### Xcode project
Add the PoliceDataKit package to your Project's Package dependencies.
## Documentation
Documentation and examples of usage can be found at
[https://adamayoung.github.io/police-data-kit/documentation/policedatakit/](https://adamayoung.github.io/police-data-kit/documentation/policedatakit/)
## References
* [data.police.uk](https://data.police.uk)
* [Documentation](https://adamayoung.github.io/police-data-kit/documentation/policedatakit/)