inveniosoftware / dojson

Simple pythonic JSON to JSON converter.
https://dojson.readthedocs.io
Other
10 stars 29 forks source link

add mappings for bd76x78x.py #87

Closed switowski closed 8 years ago

switowski commented 8 years ago
383 ##$ano. 14,$bop. 27, no. 2
383 ##$cBWV 211
383 ##$bop. 8, no. 1-4
, etc.

The idea is to convert those lines into MARCXML example data (don't do this by hand, write a script for that !), so we are sure all mappings are tested:

<record>
  <datafield tag="383" ind1=" " ind2=" ">
    <subfield code="a">no. 14</subfield>
    <subfield code="b">op. 27, no. 2</subfield>
  </datafield>
  <datafield tag="383" ind1=" " ind2=" ">
    <subfield code="c">BWV 211</subfield>
  </datafield>
  <datafield tag="383" ind1=" " ind2=" ">
    <subfield code="b">op. 8, no. 1-4</subfield>
  </datafield>
, etc.
</record>