Skip to content

Enrich Marc XML Bib Records with BK and OBV Classifications based on Dewey (UB Graz Concordance at https://coli-conc.gbv.de)

License

Notifications You must be signed in to change notification settings

OBVSG/enrich_classifications

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enrich Classifications

Marc XML Bibliographic Records of E-Books often come with a Dewey Classification. Based on concordances

https://coli-conc.gbv.de/api/concordances/ddc-obv

https://coli-conc.gbv.de/api/concordances/ddc-bk-1000-ubg

one can enrich BK and OBV Classification for a given Marc XML <record/> Element.

Installation

  • You can use pipx to make this available from a local clone:

  • From the repo root directory execute pipx install .

Usage

There is a -h switch for alma_rest_bib_enricher and marc_xml_file_enricher to print a how-to-use message. E.g.:

alma_rest_bib_enricher -h

Execution for API data

alma_rest_bib_enricher input_folder/ output_folder/

The input_folder should contain XML Files of Alma APIs Rest Bib Objects

The output_folder is used to write the enriched Bib Objects into it for API updates.

Execution for Marc XML data

marc_xml_file_enricher input_marc.xml output_marc.xml

The input_file should contain namespaced Marc Record elements as children of a root element.

The output_file is used to write the enriched data to.

About

Enrich Marc XML Bib Records with BK and OBV Classifications based on Dewey (UB Graz Concordance at https://coli-conc.gbv.de)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages