-
-
28 Feb 2022 07:25:12 UTC
- Distribution: Catmandu-MARC
- Module version: 1.28
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (7)
- Testers (38 / 0 / 1)
- Kwalitee
Bus factor: 4- % Coverage
- License: perl_5
- Perl: v5.10.1
- Activity
24 month- Tools
- Download (153.61KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 10 contributors-
Patrick Hochstenbach
-
Carsten Klee
-
Johann Rolschewski
-
Chris Cormack
-
Debabrata Deka
-
Jakob Voss
-
Mohammad S Anwar
-
Nicolas Franck
-
Nicolas Steenlant
-
Robin Sheat
NAME
Catmandu::MARC - Catmandu modules for working with MARC data
SYNOPSIS
# On the command line $ catmandu convert MARC to JSON < data.mrc $ catmandu convert MARC --type MiJ to YAML < data.marc_in_json $ catmandu convert MARC --fix "marc_map(245,title)" < data.mrc $ catmandu convert MARC --fix myfixes.txt < data.mrc myfixes: marc_map("245a", title) marc_map("5**", note.$append) marc_map('710','my.authors.$append') marc_map('008_/35-35','my.language') remove_field(record) add_field(my.funny.field,'test123') $ catmandu import MARC --fix myfixes.txt to ElasticSearch --index_name 'catmandu' < data.marc # In perl use Catmandu; my $importer = Catmandu->importer('MARC', file => 'data.mrc' ); my $fixer = Catmandu->fixer('myfixes.txt'); my $store = Catmandu->store('ElasticSearch', index_name => 'catmandu'); $store->add_many( $fixer->fix($importer) );
MODULES
DESCRIPTION
With Catmandu, LibreCat tools abstract digital library and research services as data warehouse processes. As stores we reuse MongoDB or ElasticSearch providing us with developer friendly APIs. Catmandu works with international library standards such as MARC, MODS and Dublin Core, protocols such as OAI-PMH, SRU and open repositories such as DSpace and Fedora. And, of course, we speak the evolving Semantic Web.
Follow us on http://librecat.org and read an introduction into Catmandu data processing at https://github.com/LibreCat/Catmandu/wiki.
SEE ALSO
Catmandu, Catmandu::Importer, Catmandu::Fix, Catmandu::Store, MARC::Spec
AUTHOR
Patrick Hochstenbach,
<patrick.hochstenbach at ugent.be>
CONTRIBUTORS
Nicolas Steenlant,
<nicolas.steenlant at ugent.be>
Nicolas Franck,
<nicolas.franck at ugent.be>
Johann Rolschewski,
jorol at cpan.org
Chris Cormack
Robin Sheat
Carsten Klee,
klee at cpan.org
COPYRIGHT
Copyright 2012- Patrick Hochstenbach , Carsten Klee, Johann Rolschewski
LICENSE
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
Module Install Instructions
To install Catmandu::MARC, copy and paste the appropriate command in to your terminal.
cpanm Catmandu::MARC
perl -MCPAN -e shell install Catmandu::MARC
For more information on module installation, please visit the detailed CPAN module installation guide.