[librecat-dev] statictic subfield report

Kiraly, Peter peter.kiraly at gwdg.de
Tue Nov 12 10:57:25 CET 2019

Dear Christoph and Librecat developers,

It is not Librecat, and from Johann's answer it comes, that it could be solved withing Librecat and command line usage. I would like to mention an alternative solution which I am working in these months (I hope you won't take it as trolling). It analyses - among others - the classifications and authority control of a library catalog.


Here is a screenshot from its user interface:<https://github.com/pkiraly/metadata-qa-marc/blob/master/README.md#helper-scripts>




Péter Király, Ph.D.
GWDG - Gesellschaft für wissenschaftliche
Datenverarbeitung mbH Göttingen
Am Faßberg 11, 37077 Göttingen

T +49 551 39  20468
F +49 551 201 2150
E peter.kiraly at gwdg.de
W https://de.linkedin.com/in/peterkiraly
W https://twitter.com/kiru

Geschäftsführer: Prof. Dr. Ramin Yahyapour
Aufsichtsratsvorsitzender: Prof. Dr. Christian Griesinger
Sitz der Gesellschaft: Göttingen
Registergericht: Göttingen
Handelsregister-Nr. B 598
Zertifiziert nach ISO 9001
From: librecat-dev-bounces at lists.uni-bielefeld.de <librecat-dev-bounces at lists.uni-bielefeld.de> on behalf of Christoph Krempe <krempe at ub.fu-berlin.de>
Sent: Tuesday, November 12, 2019 10:13:27 AM
To: Rolschewski, Johann; librecat-dev at lists.uni-bielefeld.de
Subject: Re: [librecat-dev] statictic subfield report

Hi Johann,

Am 12.11.19 um 09:55 schrieb Rolschewski, Johann:
> Hi Christoph,
>> before I start to code by myself: Is the a way to create a statistic of the use of
>> specific assignment of MARC subfields in Catmandu?
>> For example, I want to now
>> the count of value "ddc" in subfield $2 in category 084 or how much category
>> 600, subfield 49, do not have the value "N"
> you can generate (sub)field-level statistics with:
> $ marcstats.pl data.mrc
> # or
> $ catmandu convert MARC to Breaker --handler marc < data.mrc > data.mrc.breaker
> $ catmandu breaker data.mrc.breaker
> # or
> $ catmandu breaker --as XLSX data.mrc.breaker > data.xlsx
> I'm not aware of any generic solution for generating statistics for specific (sub)field values. I would create a fix for these (sub)fields and then use something like
> $ cut | sort | uniq -c

I will write a fix for that task, thank you!

> for calculating the numbers.
> Best
> Johann

Mit freundlichen Grüßen

Ch. Krempe


Christoph Krempe
Abt. Datenverarbeitung
Universitätsbibliothek der FU Berlin
Garystraße 39
D-14195 Berlin

Tel.: 030 83854583
Fax: 030 838454583

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-bielefeld.de/mailman2/unibi/public/librecat-dev/attachments/20191112/4940748f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: classifications.png
Type: image/png
Size: 96981 bytes
Desc: classifications.png
URL: <http://lists.uni-bielefeld.de/mailman2/unibi/public/librecat-dev/attachments/20191112/4940748f/attachment.png>

More information about the librecat-dev mailing list