Semi-Automating Batch Editing MARC Records : Using MarcEdit

Cynthia Ng
@TheRealArty
November 26, 2015

What do you want to do?

Choose the Tool

  • MarcEdit
  • PyMARC (Python)
  • MARC::RECORD (Perl)

Operations

  • add (sub)fields
  • delete (sub)fields
  • swap (sub)fields
  • reorder (sub)fields
  • find/replace (sub)fields data
  • edit indicators

Deciding Tasks

=LDR  01249cam a22003857i 4500
=001  39952
=005  20150925220242.0
=008  150501t20152015oncb\\\\\\\\\\000\1\eng\\
=010  \\$a  2014455313
=020  \\$a9781552453056 (pbk.)
=035  \\$a(OCoLC)ocn897352758
=050  00$aPR9199.3.A365$bF53 2015
=082  04$aC813/.54$223
=100  1\$aAlexis, André,$d1957-$eauthor.
=245  10$aFifteen dogs :$ban apologue /$cAndré Alexis.
=250  \\$aFirst edition.
=264  \1$aToronto :$bCoach House Books,$c2015
=300  \\$a171 pages :$bmaps ;$c21 cm
=650  \0$aDogs$vFiction$aAnimal intelligence$vFiction$aAllegories.
=650  \0$aIntellect$vFiction.
=650  \0$aConsciousness in animals$vFiction.
=901  \\$a39952$b$c39952$tbiblio
=906  \\$a7$bcbc$ccopycat$d3$encip$f20$gy-gencatlg
=925  0\$aacquire$b1 shelf copy$xpolicy default
=955  \\$bhc08 2015-05-01 z-processor$ihc08 2015-05-05 to BCCD
						
Swap function in MarcEdit for 020a to 534z with add to existing/create new checked
Find: (\$a[^$]*)
Replace: $+/r
"Use Regular Expression" option checked
Source: Regular Expression Recursive Replacement in MarcEdit

Separating Tasks

All Records All Audio Example Vendor
Delete 9xx fields Move ISBN Separate subject headers
Delete 09x fields ... ...

Automating Your Tasks

icon of 10 people, one of which is coloured in
icon of 10 people, one of which is coloured in

Take Away

Thanks!

nodoka holding a stack of books