Showing posts with label marcedit. Show all posts
Showing posts with label marcedit. Show all posts

Sunday, March 29, 2026

Mastering Metadata Cleanup in MarcEdit

Mastering Metadata Cleanup in MarcEdit

Mastering Metadata Cleanup in MarcEdit

Cleaning metadata in MarcEdit is a systematic process. It typically begins by "breaking" a .mrc (binary) file into the mnemonic .mrk (text) format, performing batch edits, and then compiling it back into .mrc.

1. Batch Deleting Unwanted Fields

To remove entire tags (like local 9XX fields or vendor-specific 655 tags) across your entire file:

  • Path: Tools > Add/Delete Field (Shortcut: F7)
  • Example: Removing all 949 local call number fields.
  • Action: Enter 949 in the Field box and click Delete Field.

Pro Tip: Use the Preview button first. It’s the best way to ensure you aren't accidentally deleting essential data.

2. Targeted Subfield Editing

Use this when you need to change data within a field, such as stripping proxy prefixes from URLs or fixing punctuation.

Path: Tools > Edit Subfield Data (Shortcut: F9)
Goal Field / Subfield Field Data Replace With
Remove "Electronic book" from 655 655 / a Electronic book. (Leave Empty)
Update Proxy Prefix in 856 856 / u oldproxy.com/ newproxy.com/
Add trailing period to 245 245 / a ([^.])\s*$ $1. (Check Regex)

3. Updating Indicators

Indicators control how data is indexed. A common task is fixing the second indicator in the 245 field to account for "The" or "A".

  • Path: Tools > Edit Indicators (Shortcut: F8)
  • Example: Changing 050 \4 (Local LC Call Number) to 050 00 (LC assigned by LC).

4. Modernizing with the RDA Helper

The RDA Helper automates the transition from AACR2 to modern RDA standards.

  • Path: Tools > RDA Helper
  • What it does:
    • Adds 336 (Content), 337 (Media), and 338 (Carrier) fields.
    • Converts abbreviations (e.g., "p." to "pages").
    • Removes the 245 $h [electronic resource] GMD.

5. Global Find/Replace & Regex

For general text cleaning (like fixing typos or removing specific phrases), use Edit > Replace (Ctrl+H). For complex patterns, enable Use Regular Expressions.

Regex Example: To find cases where a subfield $b is missing a leading space, search for ([^\s])\$b and replace with $1 $b.

Once your edits are complete, navigate to File > Compile File to save your work back into the .mrc format for your ILS.

Saturday, March 28, 2026

The Surgical Merge: MarcEdit Edition

Preserving Metadata Integrity for the Sirah Research Hub

Merging records in MarcEdit is like performing a surgical transplant: you take the "healthy" metadata from one file and move the "vital" local data (barcodes and URLs) from another into it.

The Scenario: A Practical Example

Imagine you have two separate files for the same 100 Sirah books:

File A (Source)

High-quality bibliography. Perfect titles and Islamic subject headings, but no barcodes.

File B (Merge)

SSMK Library records. Messy titles, but contains unique barcodes and shelf locations.

Goal: The Perfect Master Record

The Step-by-Step Process

1
Open the Merge Tool: Launch MarcEdit and navigate to Tools → Merge Records.
2
Select Your Files: Set File A as your Source and File B as your Merge file. Name your output Sirah_Hub_Final.mrc.
3
Define the "Match Key": Use the ISBN (020 $a) or Title (245 $a) so MarcEdit recognizes which books are identical.
4
Select Specific Data: Only check the boxes for fields you need from File B (e.g., 952 for barcodes, 856 for URLs).
💡 Pro-Tip: Do NOT select fields like 245 (Title) or 100 (Author) in Step 4. You want to keep the "clean" metadata from your Source file, not overwrite it with the "messy" data from the Merge file.

The Final Result (Behind the Scenes)

Feature File A (Source) File B (Merge) Final Merged Result
Title (245) The Life of the Prophet Prophet Life (SSMK) The Life of the Prophet
ISBN (020) 9780123456789 9780123456789 9780123456789
Barcode (952$p) (Empty) ML-100444 ML-100444

Common Troubleshooting

  • "No Matches Found": Standardize your ISBNs first. One file might have dashes while the other does not. Use the MarcEdit ISBN Tool to fix this.
  • Duplicate 952s: Use the "Replace Existing" option in merge settings if your Source file already contains empty placeholder tags.

Merging in MarcEdit is faster and safer than merging in Koha because you can verify 5,000 records in seconds before they ever touch your live catalog.

Claude

Claude for Academics — A Research Companion Research & Academia Claude as Your Research Companion A practical gui...