1
0
mirror of https://github.com/ilri/csv-metadata-quality.git synced 2025-05-08 06:06:00 +02:00

Add "unsafe fixes" runtime option

In this case it fixes occurences of invalid multi-value separators.
DSpace uses "||" to separate multiple values in one field, but our
editors sometimes give us files with mistakes like "|". We can fix
these to be correct multi-value separators if we are sure that the
metadata is not actually using "|" for some legitimate purpose.
This commit is contained in:
2019-07-28 22:53:39 +03:00
parent a93b5b31c5
commit 40e77db713
4 changed files with 46 additions and 1 deletions

View File

@ -4,4 +4,4 @@ Stella|| Stella ||Stella Orth||Stella ,1984-11-27,2321-2302,99921-58-10-7
Sophia,2019-06-15,,
Test,2019-06-150,,
"Doe, J.",2019-06-15||2019-01-10,,
Someone,,,
Someone,,0378-5955|0378-5955,

1 dc.contributor.author birthdate dc.identifier.issn dc.identifier.isbn
4 Sophia 2019-06-15
5 Test 2019-06-150
6 Doe, J. 2019-06-15||2019-01-10
7 Someone 0378-5955|0378-5955