new-zealand-research-information-system / nzris-data-specifications

4 stars 0 forks source link

Specifying primary keys, or changing to composite key? #30

Open chrisdangerfield opened 3 years ago

chrisdangerfield commented 3 years ago

The NZRIS data warehouse has been constructed to link entities by a primary key, which must be unique. However, the primary key is not explicitly labelled in the NZRIS Data Specifications. Also, there may be legitimate situations where the primary key is not unique, for example when a funding organisation makes one payment to a research organisation for a number of awards (Resource Distributed) – the amount for each contract may be different, the award IDs are different but the primary key for the entity (Local Resource Distributed ID) would be the same for this set of awards.

This issue is to find out whether the NZRIS system should: