This presentation was a lightning talk done at Code4LibBC Unconference 2015 on batch editing MARC records. Full write-up available: http://wp.me/pHQ83-10U
SEMI-AUTOMATINGBATCH EDITING MARCRECORDS : USINGMARCEDITNovember 26, 2015Cynthia Ng@TheRealArty
View Slide
WHAT DO YOU WANT TO DO?
CHOOSE THE TOOLMarcEditPyMARC (Python)MARC::RECORD (Perl)
OPERATIONSadd (sub)fieldsdelete (sub)fieldsswap (sub)fieldsreorder (sub)fieldsfind/replace (sub)fields dataedit 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
Find: (\$a[^$]*)Replace: $+/r"Use Regular Expression" optioncheckedSource: Regular Expression Recursive Replacement in MarcEdit
SEPARATING TASKS
All Records All Audio Example VendorDelete 9xx fields Move ISBN Separate subject headersDelete 09x fields ... ...
AUTOMATING YOUR TASKS
TAKE AWAY
THANKS!Cynthia Ng@TheRealArtyabout.me/cynthiang