alaveteli icon indicating copy to clipboard operation
alaveteli copied to clipboard

Record and show relationships between bodies

Open RichardTaylor opened this issue 6 years ago • 12 comments

There are relationships between bodies which, if reflected in the public bodies database, and shown on the site, could perhaps enable easier administration and browsing of the site.

Examples of relationships:

  • Owned by / owns. eg. https://www.whatdotheyknow.com/body?tag=companies_owned_by_local_gov
  • A partner/member of another body, for example: https://www.whatdotheyknow.com/body?tag=joint_committee https://www.whatdotheyknow.com/body?tag=welsh_regional_partnership_board
  • Department of
  • Preceded by / succeeded by
  • Scrutinised by / scrutinises
  • Receives funds from / is funded by

This feature could assist browsing the site, and might assist site administration.

Currently administrators can manually add annotations which, for example, lead to a successor body when an organisation is marked "defunct". If we linked such bodies in the database the system could present such links.

It may be possible to do this with special tags eg. Owned_by:Body_Name

RichardTaylor avatar Jul 09 '18 13:07 RichardTaylor

This feature could help deter, or prevent, duplicated requests.

This feature could enable the automated detection of requests made to:

i/ Multiple subunits of an organisation ii/ A subunit of an organisation and the organisation itsself

A specific example would be a request to an academy school, and a request to its multi-academy trust. In such a case a warning might be appropriate rather than preventing a request being made both locally to the school and to the trust.

RichardTaylor avatar Nov 16 '20 15:11 RichardTaylor

A new example of a relationship between bodies

  • Shares a site / address with, or "provides services at"

I came across this within the NHS organisation data at:

https://odsportal.digital.nhs.uk/

Their data includes "sites", and there can be multiple organisations at each site.

RichardTaylor avatar May 29 '21 15:05 RichardTaylor

  • A body entry marked as a subunit of a larger body could result in a placeholder page / URL which directs users to the parent body's page to make a request.

Alternatively:

  • Imagine a "body" entry for say Border Force which is part of the Home Office. The Border Force page would only list requests to Border Force, but the Home Office page would list (and enable searching of) all requests to all parts of the Home Office

RichardTaylor avatar Jun 13 '21 17:06 RichardTaylor

Consider how we could best deal with bodies which cease to exist in their own right, but become subsumed into others eg.

https://www.whatdotheyknow.com/body/land_and_property_services https://www.whatdotheyknow.com/body/northumberland_college

Notes:

There may be a conflict between what serves our users best, and what is technically correct. Ideally we'd be both technically correct and serve our users as well as possible. One of the key things we try to do though is cut through complexity and confusion.

RichardTaylor avatar Jul 25 '21 13:07 RichardTaylor

Sometimes a successor body has the same name as its predecessor: #6391

RichardTaylor avatar Jul 26 '21 10:07 RichardTaylor

As an example of this being done manually, see notes added to a UK county council page on WhatDoTheyKnow suggesting requesters consider if their request would be better directed to one of the district level councils:

https://www.whatdotheyknow.com/body/lincolnshire_county_council

Even better in this case would be using more tags to describe functions/responsibilities of the relevant bodies to guide users to the right place. Related: https://github.com/mysociety/whatdotheyknow-theme/issues/579

RichardTaylor avatar May 09 '22 14:05 RichardTaylor

We can use the existing functions/tools to do this to an extent.

eg. we list

https://www.whatdotheyknow.com/body/at_medics_ltd

and on that page we state

We list the GP surgeries run by AT Medics Ltd separately.

and we link to those bodies tagged run_by:at_medics_ltd

Currently the links from the individual surgeries back to the parent entity are in each individual notes field.

RichardTaylor avatar Jun 14 '22 18:06 RichardTaylor

  • We could link from schools to their relevant local [education] authority and Regional Schools Commissioner .

  • The NHS Organisation Data Service records lots of relationships between bodies including: "Is Commissioned By", "Is Operated By", "Is a Sub-Division Of", "Is Directed By", as well as Geographic based information including Local Authority, Country (within the UK) etc.

RichardTaylor avatar Jul 14 '22 12:07 RichardTaylor

More work has been done using the existing tagging system on WhatDoTheyKnow to record relationships between bodies eg.

https://www.whatdotheyknow.com/body?tag=parent_mapit%3A2595

See

  • https://github.com/mysociety/whatdotheyknow-theme/pull/1330

and

  • https://github.com/mysociety/whatdotheyknow-theme/issues/1334

RichardTaylor avatar Aug 03 '22 12:08 RichardTaylor

We actually contacted the Department for Education about an uncannily similar thing over the weekend (linking from education authorities to GIaS, the database identifiers are inconsistent with what they advertise) - once we’ve a reply on that one this would be a good set of tasks to join together.

mdeuk avatar Aug 03 '22 15:08 mdeuk