[librecat-dev] missing fields in MARC to CSV conversion

Christoph Krempe krempe at ub.fu-berlin.de
Tue Aug 29 17:13:50 CEST 2017


Dear all,

I'm trying to create a CSV file from several fields of a MARCXML file.
My fixes look like

marc_map('035/12-18','sep-id')
marc_map('989a','publ')
marc_map('245a','title')
marc_map('245b','stitle')
marc_map('773t','journal')
marc_map('773g','volume')
marc_map('773x','issn')
marc_map('773z','isbn')
marc_map('100','creator')
marc_map('260a','place')
marc_map('260b','publisher')
marc_map('260c','year')
marc_map('024a','doi')
marc_map('856u','urn')
marc_map('041a','language')
remove_field('_id')
remove_field('record')

The problem is: If I convert a MARCXML file with 1000 records, the DOI
in MARC 024 is NOT created in the CSV file. If I convert a single
MARCXML record from that file with a DOI, the DOI is created in the CSV
file. The single MARCXML record looks like:

<?xml version="1.0" encoding="UTF-8"?>
<collection>
  <record>
    <leader>01005nad a22002892u 4500</leader>
    <controlfield tag="005">20160530        </controlfield>
    <controlfield tag="007">tu|||||||||||||||||||||</controlfield>
    <controlfield tag="008">160530|        xx      ro    ||| | ger
u</controlfield>
    <controlfield tag="009">50 aa|||||||||||||</controlfield>
    <controlfield tag="009">52 aaau||||||||||||</controlfield>
    <controlfield tag="001">9963195902885</controlfield>
    <datafield tag="024" ind1="7" ind2=" ">
      <subfield code="a">10.1515/zaes-2015-0006</subfield>
      <subfield code="2">doi</subfield>
    </datafield>
    <datafield tag="035" ind1=" " ind2=" ">
      <subfield code="a">BI-00716126</subfield>
    </datafield>
    <datafield tag="035" ind1=" " ind2=" ">
      <subfield code="a">(DE-188-SEP)51016</subfield>
    </datafield>
    <datafield tag="040" ind1=" " ind2=" ">
      <subfield code="c">DE-188</subfield>
    </datafield>
    <datafield tag="041" ind1="0" ind2="7">
      <subfield code="a">ger</subfield>
      <subfield code="2">ISO 639-2</subfield>
    </datafield>
    <datafield tag="100" ind1="1" ind2=" ">
      <subfield code="a">Morales, Antonio J.</subfield>
    </datafield>
    <datafield tag="245" ind1="0" ind2="0">
      <subfield code="a">Iteration, Innovation und Dekorum in
Opferlisten des Alten Reichs.</subfield>
    </datafield>
    ....
  </record>
</collection>

Any idea why?

-- 

Mit freundlichen Grüßen

Ch. Krempe

__________________________________________________

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

Tel.: 030 83854583
Fax: 030 838454583

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.uni-bielefeld.de/mailman2/unibi/public/librecat-dev/attachments/20170829/a83a3038/attachment.asc>


More information about the librecat-dev mailing list