Ticket #253 (assigned enhancement)

Opened 4 years ago

Last modified 23 months ago

Package relationships

Reported by: dread Owned by:
Priority: awaiting triage Milestone: ckan-backlog
Component: ckan Keywords:
Cc: Repository: ckan
Theme: none

Description (last modified by dread) (diff)

Overview

Functionality to formally associate packages. We see a need for specific parent-child, inheriting or dependency relations. Not only should this help navigation between packages in the web interface, but it also provides a mechanism to automatically pull dependencies when downloading a data package, in a similar manner as we see in software package management.

Examples

  1. There are 27 packages in data.gov.uk to do with the Data4NR's Health Poverty Index. There is currently no common link between these, unless you search for 'HPI' (which also brings up House Price Index), or look under tag 'health' (which also has 600 other results). There should be a link on each HPI package page to navigate to the other 'sibling' HPI packages, and to a 'root' package that has info about the set. This could be partially achieved using the existing tag or group concepts, but a more explicit/official/obvious marking of their relationship could be beneficial.
  1. In ckan.net is freedict, a collection of translation dictionaries. You could make each dictionary a child package and use this system. But it would probably be better to make each dictionary a different resource in the same package. (There are other ideas to denote a resource as the data making up a 'portion' of package, or a 'whole' of the package, to help people downloading datasets in the software package style.)
  1. OSM has had some Naptan data imported (bus stops), with special permission - i.e. a more liberal license. It would be useful to show this link on both OSM and Naptan packages in CKAN: OSM 'derives from' Naptan with a comment about the license change. I'm not sure this is useful to an automatic download or use of these datasets, but may aid exploration on the CKAN website and understanding the provenance of the bus stop data on it.
  1. IPCC collection of data linked / mirrored. Not sure if there are useful relationships here?
  1. Dracos gets postbox locations from crowd sourcing and OSM. We could say Dracos 'derives from' OSM.

See more examples discussed here: http://trac.ckan.org/ticket/253

Implementation

This is split into four tickets:

No need for write access to be provided API for the moment.

This ticket also encompasses ticket:169 (Package derivations) and ticket:176 (Package dependencies).

Change History

comment:1 Changed 4 years ago by dread

  • Description modified (diff)

comment:2 Changed 4 years ago by dread

  • Owner changed from rgrp to dread
  • Priority changed from awaiting triage to blocker
  • Description modified (diff)

comment:3 Changed 4 years ago by dread

  • Description modified (diff)

comment:4 Changed 4 years ago by dread

  • Status changed from new to closed
  • Resolution set to duplicate

Closing in favour of the 4 tickets it is split into.

comment:5 Changed 4 years ago by dread

  • Milestone set to v1.0

comment:6 Changed 3 years ago by rgrp

  • Status changed from closed to reopened
  • Resolution duplicate deleted

Re-opening as this is a useful meta-ticket and should only be closed when all subtickets done.

comment:7 Changed 3 years ago by dread

  • Milestone changed from v1.0 to longterm

comment:8 Changed 3 years ago by dread

  • Priority changed from blocker to major

comment:9 Changed 3 years ago by thejimmyg

  • Repository set to ckan
  • Theme set to none
  • Milestone ckan-backlog deleted

comment:10 Changed 3 years ago by dread

  • Description modified (diff)

comment:11 Changed 3 years ago by dread

  • Priority changed from major to awaiting triage
  • Status changed from reopened to closed
  • Resolution set to fixed

comment:12 Changed 3 years ago by dread

  • Status changed from closed to reopened
  • Resolution fixed deleted

Closed by mistake

comment:13 Changed 3 years ago by dread

  • Owner dread deleted
  • Status changed from reopened to assigned

comment:14 Changed 23 months ago by seanh

  • Milestone set to ckan-backlog
Note: See TracTickets for help on using tickets.