pkiraly / qa-catalogue-web

QA Catalogue / A data quality dashboard for MARC catalogues
GNU General Public License v3.0
10 stars 6 forks source link

Show date of data in header #26

Closed nichtich closed 1 year ago

nichtich commented 2 years ago

The header shows name of catalog and number of records. It should also show the date of the data (YYYY-MM-DD) because most catalog data changes regularly, so its clear how old the analysis is.

pkiraly commented 2 years ago

@nichtich Good suggestion. The question is what should be the source of this information. For the Gent catalogue the process automatically generate a file with the date of the download. For K10plus records we could use the last file modification date. Is that OK, or do you have a better suggestion? It would be possible to read it from the records, but sometimes they have errors and contain unreal dates.

nichtich commented 2 years ago

The date should be https://github.com/pkiraly/metadata-qa-marc#configuration-1 with the data because modification time of files is often newer due to copying the files from one server to another.

pkiraly commented 2 years ago

Thanks! Good idea, I will implement it.