[librecat-dev] MARC to CSV TSV export, conversion

Patrick Hochstenbach Patrick.Hochstenbach at UGent.be
Mon Oct 17 14:29:32 CEST 2016

Dear Aina

There isn’t in general a good method to map MARC to CSV. MARC isn’t a tabular format but a multi-dimensional array. You’ll end up with an Excel file with thousands of columns which is unworkable and something we can’t possibly support. Excel is a very bad choice for editing MARC data. Not only because of the many columns, but all kind of format and encoding problems.
Use tools as Catmandu, Perl or MARC to process large MARC dumps.


> On 17 Oct 2016, at 09:04, aina at openmailbox.org wrote:
> Dear all,
> i am not able to find an example from the command line,
> something like below, but without the fixes part.
> catmandu convert MARC to CSV --fix myfixes.fix < records.mrc
> I am looking for your approach, on creating a CSV, or a TSV, that will have as headers the tag, and the subfields.
> And say one wanted to give as parameters the tags and subfields needed to be extracted in a csv?
> Or should one make a fix, that say for the whole mrc, has a mapping of all tags and subfields, which means for each mrc change, one needs to inspect the whole mrc, and see if any tag or subfields is created, and then append the fix file, with these new tags and subfields?
> Thank you very much
> _______________________________________________
> librecat-dev mailing list
> - send list mails to librecat-dev at lists.uni-bielefeld.de
> - to unsubscribe or change options, visit https://lists.uni-bielefeld.de/mailman2/cgi/unibi/listinfo/librecat-dev
> - project website: http://librecat.org/

Patrick Hochstenbach - digital architect
University Library Ghent
Sint-Hubertusstraat 8 - 9000 Ghent - Belgium
patrick.hochstenbach at ugent.be
+32 (0)9 264 7980

More information about the librecat-dev mailing list