Skip to content

A Swift Package for UK Police data providing a rich data source for information about crime and policing in England, Wales and Northern Ireland.

License

Notifications You must be signed in to change notification settings

adamayoung/police-data-kit

Repository files navigation

PoliceDataKit

CI Integration Tests Documentation

A Swift Package for retrieving open data about crime and policing in England, Wales and Northern Ireland.

Requirements

  • Swift 5.9+

Installation

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")
      ]
    )
  ]
)

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/

References