<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p>Dear Christoph and Librecat developers,</p>
<p><br>
</p>
<p>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.<br>
</p>
<p><a href="https://github.com/pkiraly/metadata-qa-marc/blob/master/README.md#helper-scripts" class="x_OWAAutoLink" id="LPlnk862032">https://github.com/pkiraly/metadata-qa-marc/blob/master/README.md</a><span class="x_OWAAutoLink"></span></p>
<p><br>
</p>
<p><span class="x_OWAAutoLink">Here is a screenshot from its user interface:</span><a href="https://github.com/pkiraly/metadata-qa-marc/blob/master/README.md#helper-scripts" class="x_OWAAutoLink" id="LPlnk862032"></a><br>
</p>
<p><br>
</p>
<p><img size="96981" id="x_img854819" tabindex="0" style="max-width:99.9%" src="cid:de3f4d72-dc06-4aab-b2d2-767f6d4eae71"><br>
</p>
<p><br>
</p>
<p>Best,</p>
<p>Péter<br>
</p>
<p><br>
</p>
<div id="x_Signature">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:rgb(0,0,0); font-family:Calibri,Arial,Helvetica,sans-serif,"EmojiFont","Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<div class="x_BodyFragment"><font size="2"><span style="font-size:10pt">
<div class="x_PlainText">-----<br>
Péter Király, Ph.D.<br>
GWDG - Gesellschaft für wissenschaftliche<br>
Datenverarbeitung mbH Göttingen<br>
Am Faßberg 11, 37077 Göttingen<br>
www.gwdg.de<br>
<br>
T +49 551 39  20468<br>
F +49 551 201 2150<br>
E peter.kiraly@gwdg.de<br>
W <a href="https://de.linkedin.com/in/peterkiraly" class="x_OWAAutoLink" title="Ctrl+Click or tap to follow the link" id="LPNoLP">
https://de.linkedin.com/in/peterkiraly</a></div>
<div class="x_PlainText">W <a href="https://twitter.com/kiru" class="x_OWAAutoLink" id="LPNoLP">
https://twitter.com/kiru</a><br>
</div>
<div class="x_PlainText"><br>
Geschäftsführer: Prof. Dr. Ramin Yahyapour<br>
Aufsichtsratsvorsitzender: <span id="x_ms-rterangepaste-start"></span><span lang="EN-US" style="font-family:"Calibri",sans-serif,serif,"EmojiFont"">Prof. Dr. Christian Griesinger</span><span id="x_ms-rterangepaste-end"></span><br>
Sitz der Gesellschaft: Göttingen<br>
Registergericht: Göttingen<br>
Handelsregister-Nr. B 598<br>
----------------------------<br>
Zertifiziert nach ISO 9001<br>
----------------------------</div>
</span></font></div>
</div>
</div>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> librecat-dev-bounces@lists.uni-bielefeld.de <librecat-dev-bounces@lists.uni-bielefeld.de> on behalf of Christoph Krempe <krempe@ub.fu-berlin.de><br>
<b>Sent:</b> Tuesday, November 12, 2019 10:13:27 AM<br>
<b>To:</b> Rolschewski, Johann; librecat-dev@lists.uni-bielefeld.de<br>
<b>Subject:</b> Re: [librecat-dev] statictic subfield report</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Hi Johann,<br>
<br>
Am 12.11.19 um 09:55 schrieb Rolschewski, Johann:<br>
> Hi Christoph,<br>
> <br>
>> before I start to code by myself: Is the a way to create a statistic of the use of<br>
>> specific assignment of MARC subfields in Catmandu?<br>
>><br>
>> For example, I want to now<br>
>><br>
>> the count of value "ddc" in subfield $2 in category 084 or how much category<br>
>> 600, subfield 49, do not have the value "N"<br>
> <br>
> you can generate (sub)field-level statistics with:<br>
> <br>
> $ marcstats.pl data.mrc<br>
> # or<br>
> $ catmandu convert MARC to Breaker --handler marc < data.mrc > data.mrc.breaker<br>
> $ catmandu breaker data.mrc.breaker<br>
> # or<br>
> $ catmandu breaker --as XLSX data.mrc.breaker > data.xlsx<br>
> <br>
> 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<br>
> <br>
> $ cut | sort | uniq -c<br>
<br>
I will write a fix for that task, thank you!<br>
<br>
> <br>
> for calculating the numbers.<br>
> <br>
> Best<br>
> <br>
> Johann<br>
> <br>
<br>
<br>
-- <br>
Mit freundlichen Grüßen<br>
<br>
Ch. Krempe<br>
<br>
__________________________________________________<br>
<br>
Christoph Krempe<br>
Abt. Datenverarbeitung<br>
Universitätsbibliothek der FU Berlin<br>
Garystraße 39<br>
D-14195 Berlin<br>
<br>
Tel.: 030 83854583<br>
Fax: 030 838454583<br>
<br>
</div>
</span></font>
</body>
</html>