AtlasOfLivingAustralia / la-pipelines

Living Atlas Pipelines extensions
3 stars 4 forks source link

simplify management of biocache-hub Data quality tests tooltip description and wiki link #426

Open brucehyslop opened 3 years ago

brucehyslop commented 3 years ago

The biocache-hub Data quality tests tooltips descriptions and wiki links are populated from the "Data Quality Checks" google sheet.

This sheet used the assertion code as the primary key however the assertion code is now derived from the OccurrenceIssue enum ordinal value which means that it will change when changes are made the the OccurrenceIssue. This will cause the Data quality tests tooltips to display incorrect values unless the "Data Quality Checks" google sheet is constantly maintained.

We could either:

  1. remove the the reliance on the "Data Quality Checks" google sheet. Replace the tooltip description with the assertion description from the occurrence JSON data. Use the assertion name to reference the wiki page.
  2. change the key into "Data Quality Checks" google sheet to use the assertion name instead of code.
djtfmartin commented 3 years ago

Id vote for:

2) change the key into "Data Quality Checks" google sheet to use the assertion name instead of code.