Closed teeceeas closed 5 days ago
The spike ticket says the result will likely look like a chart but I'll need to check whether we can actually link to the chart like we did with with Justice Data.
Both charts and datasets can be specialised with SubType. Setting this to a value like "PerformanceMetric" preserves the option of handling metrics differently to other kinds of charts.
This is what the ownership logic was - we're not implementing this
DataSource
is "Finds Upload", "Incidents Upload" "Incidents Upload (IRS)" or "Hub upload (assaults & referrals)" assign HubNationalOperation@justice.gov.uk as the ownerDataSource
is "Alere Tox lab data", assign HubMDT@justice.gov.uk as the owner ("MDT" is mandatory drug testing in prisons)DataSource
is "Programmes return" or "HII programme uploads" OR the MetricRef
starts with "CUP", assign HubProgrammesMinorities@justice.gov.uk as the ownerWork in progress, but have something ingested https://dev.find-moj-data.service.justice.gov.uk/details/dashboard/urn:li:dashboard:(performance-hub,performance-hub)
We're going to need to adjust the templates in Find MoJ data
The subject area is missing for dashboard but since it covers multiple domains I'm going to leave this blank. This is the same for Justice Data as well.
Chart/dashboard is not actually a very good description of what these metrics are, so I'm going to change it to Dataset/Container, and introduce a subtype for Metrics.
We can then hide the schema part from the template.
As discussed in the spike an automated / API solution may be possible in future but for now we will ingest in a similar way to ESDAs - writing a script to scan a CSV and push catalogue entries via the DataHub API.
Ingestion
Subject areas
EntityType = Prison
, assign it to the prison subject areaDescription
In addition to the above, append the following three sentences:
Data owners
Assigning data ownership has been de-scoped following a conversation with D&A (the previously suggested ownership is saved below in a comment).