Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Semi-Automating Batch Editing MARC Records : Using MarcEdit

Semi-Automating Batch Editing MARC Records : Using MarcEdit

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

Cynthia "Arty" Ng

November 26, 2015
Tweet

More Decks by Cynthia "Arty" Ng

Other Decks in Technology

Transcript

  1. SEMI-AUTOMATING
    BATCH EDITING MARC
    RECORDS : USING
    MARCEDIT
    November 26, 2015
    Cynthia Ng
    @TheRealArty

    View Slide

  2. WHAT DO YOU WANT TO DO?

    View Slide

  3. CHOOSE THE TOOL
    MarcEdit
    PyMARC (Python)
    MARC::RECORD (Perl)

    View Slide

  4. OPERATIONS
    add (sub)fields
    delete (sub)fields
    swap (sub)fields
    reorder (sub)fields
    find/replace (sub)fields data
    edit indicators

    View Slide

  5. DECIDING TASKS

    View Slide

  6. =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

    View Slide

  7. View Slide

  8. Find: (\$a[^$]*)
    Replace: $+/r
    "Use Regular Expression" option
    checked
    Source: Regular Expression Recursive Replacement in MarcEdit

    View Slide

  9. SEPARATING TASKS

    View Slide

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

    View Slide

  11. AUTOMATING YOUR TASKS

    View Slide

  12. View Slide

  13. View Slide

  14. TAKE AWAY

    View Slide

  15. THANKS!
    Cynthia Ng
    @TheRealArty
    about.me/cynthiang

    View Slide