1
0
mirror of https://github.com/ilri/csv-metadata-quality.git synced 2024-11-17 19:47:03 +01:00
csv-metadata-quality/README.md

29 lines
1.3 KiB
Markdown
Raw Normal View History

2019-07-26 22:59:31 +02:00
# CSV Metadata Quality [![builds.sr.ht status](https://builds.sr.ht/~alanorth/csv-metadata-quality.svg)](https://builds.sr.ht/~alanorth/csv-metadata-quality?)
2019-07-28 17:38:36 +02:00
A simple but opinionated metadata quality checker and fixer designed to work with CSVs in the DSpace ecosystem. Supports multi-value fields using the standard DSpace value separator ("||"). Despite the name it does support reading Excel files.
2019-07-29 09:56:02 +02:00
Written and tested using Python 3.7. CSV and Excel support comes from the [Pandas](https://pandas.pydata.org/) library.
## Checks
Supports checking the validity of the following metadata elements:
- ISSN
- ISBN
2019-07-29 09:56:02 +02:00
- Multi-value separators ("||")
- Dates
## Fixes
Supports fixing the following metadata issues:
- Leading, trailing, and excessive whitespace
- Invalid multi-value separators ("|") using `--unsafe-fixes`
## Todo
- Reporting / summary
- Real logging
## License
This work is licensed under the [GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html).
The license allows you to use and modify the work for personal and commercial purposes, but if you distribute the work you must provide users with a means to access the source code for the version you are distributing. Read more about the [GPLv3 at TL;DR Legal](https://tldrlegal.com/license/gnu-general-public-license-v3-(gpl-3)).