This package is meant to preprocess OpenCitations source dumps so to make them easily usable in OpenCitations main processes, by deleting unused information, splitting big files, and validating identifiers
Project description
OpenCitations: Preprocess
This software is meant to preprocess data dumps to be ingested in OpenCitations, provided by different data sources. The aim of the software is that of preprocessing data dumps in order to facilitate data parsing and extraction in OpenCitations Meta and OpenCitation Index processes. Note that preprocessing is not a mandatory step of data ingestion in OpenCitations. However, preprocessing is suggested when:
- A consistent part of the bibliographic entities represented in the dump come without citation data
- The dump content is redundant with respect to OpenCitations scopes (e.g.: duplicated citations retrievable both as addressed and received citations)
- The dump consists of a unique big file, and it is too heavy to be processed all at once
- A consistent part of the data provided is not relevant with respect to OpenCitations scopes (e.g.: discipline-specific and content-related metadata)
Mandatory
- Python 3.8+
Start the tests
$ python -m unittest discover -s ./preprocessing/test -p "*.py"
License
OpenCitations Index is released under the ISC License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for oc_preprocessing-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47e1ba2dd1481d81116e51e826c5cd4ac7c54d018d62ebe1339b42cec5ed75b5 |
|
MD5 | 88ee571fe254f2f843d0110686a3f58e |
|
BLAKE2b-256 | a11030113ddd74957a5ae37e40705444f5007e6352d6c6d9c8e148596d7cfd3e |