pod4lib / aggregator

POD Aggregator, f.k.a. the POD Data Lake
https://pod.stanford.edu
Apache License 2.0
9 stars 3 forks source link

UI request: display breakdown of deletes vs. adds for MARC and MARCXML files #703

Open sandbergja opened 2 years ago

sandbergja commented 2 years ago

Marc and MarcXML files can either be Adds or Deletes, depending on position 5 of the Leader. While reviewing my organization's page, it would be helpful to confirm that a particular file we sent was, in fact, processed as Deletes.

One idea I had is to add this info to the records column of the uploaded files page. For example:

Status File Date created Size Content type Records
Valid MARC file1.xml 26 Apr 10:30 570KB application/marcxml+xml 126 deletes
Valid MARC file2.xml 26 Apr 10:30 1.13MB application/marcxml+xml 200,000 additions

Possibly related issue: #696.

corylown commented 2 years ago

@sandbergja this is a good suggestion. Because adds, updates, and deletes can be mixed together in the same MARC binary or MARC XML file I think we'd need to show the counts of each for each file (combine counts of add/updates and show deletes separately.)