Closed karlcz closed 2 years ago
This is sketched out in a draft PR https://github.com/nih-cfde/cfde-deriva/pull/309 which assumes we will introduce a CURI-like metric concept "vocabulary" id space to coordinate the measurement code, persistence layer, and UI layers.
datapackage_metric
vocabulary table (named this way in case we introduce some other granularity of metric concept later)datapackage_measurement
data table which links a submission, metric concept, and actual measurement value(s)The latest revision of this (with the new "hide" boolean) is deployed in app-dev's registry. It should be possible to check out the "metrics" branch of cfde-deriva and test with the new cfde_deriva.metrics
API module.
Once we successfully get some measurements recorded for at least one submission, I will revisit to make the measurements visible in the registry's deriva UX...
Some measurements have been loaded for this submission https://app-dev.nih-cfde.org/chaise/record/#registry/CFDE:datapackage/RID=J7NT