A Swift Package for retrieving open data about crime and policing in England, Wales and Northern Ireland.
- Swift 5.9+
Add the PoliceDataKit package as a dependency to your Package.swift
file, and
add it as a dependency to your target.
// 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")
]
)
]
)
Add the PoliceDataKit package to your Project's Package dependencies.
Documentation and examples of usage can be found at https://adamayoung.github.io/police-data-kit/documentation/policedatakit/