RADAR stories are published by processing a Dataset.

The Datasets that can be selected are:

  • Local Authorities
  • Upper Tier Local Authorities
  • Regions
  • CCG (Clinical Commissioning Group)
  • Constituencies
  • CSP (Community Safety Partnership)
  • Driving Centres
  • Fire Services
  • NHS Trusts
  • NTUS (Nomenclature Territorial Units Statistics)
  • Police forces
  • Prisons
  • Universities

However RADAR stories are always published to customers on the Local Authority (LA) level.

This means that when a story is published to a Dataset entry that maps to multiple Local Authorities then that story is duplicated, once for each relevant Local Authority.

In the place array of the JSON (NinJS) rendition of a RADAR item there will be an entry for both the LA and the other dataset used.

"place": [
  {
    "code": "country:gbr",
    "name": "United Kingdom",
    "rel": "about",
    "profile": "country",
    "scheme": "https://www.wikidata.org/wiki/Property:P298"
  },
  {
    "code": "nhs-trust:nhs:RWK",
    "name": "East London NHS Foundation Trust",
    "rel": "about",
    "profile": "nhs-trust",
    "scheme": "https://www.nhs.uk/servicedirectories/pages/nhstrustlisting.aspx"
  },
  {
    "code": "local-authority:ons:E09000001",
    "name": "City of London",
    "rel": "about",
    "profile": "local-authority",
    "scheme": "https://opendata.arcgis.com/datasets/7f83b82ef6ce46d3a5635d371e8a3e7c_0.geojson"
  }
],

If you are subscribed to multiple of these Local Authorities you may see duplicate publications.

To handle this you have 2 options.

Ignore LA if other Dataset are present.

If a place with one of the following profile's is present then ignore other items that also contain that place entry and have an identical issued time.

  • electoral-ward
  • nhs-trust
  • region
  • upper-tier-local-authority
  • northern-ireland-local-government-district
  • clinical-commissioning-group
  • community-safety-partnership
  • police-force
  • fire-service
  • nomenclature-territorial-units-statistics
  • ambulance-service
  • driving-test-centre
  • university
  • hm-prison-service
  • nhs-111
  • test
  • advisory-committee-area
  • constituencies

🚧

Future Proofing

If new Datasets are added in the future then you will need to extend the profile list that should be detected.

Mapping

Map items based on Local Authorities AND the following Datasets detailed as children to this page.

The mappings of the other Datasets should take precedence, and a mapping based of the LA's should only be used if they are the only relevant entry present in the place array.

🚧

Future Proofing

If new Datasets are added in the future then new Mappings will have to be implemented.