MARCEdit

From Koha Wiki
Jump to navigation Jump to search

Many libraries like to use MarcEdit for modifications or data cleanup. If you’d like to do this you will need to download it at: http://marcedit.reeset.net/

Important: Many of the actions described on this page can be done in Koha using Marc Modification Templates, but this section is here for those who are used to MarcEdit.

Adding a prefix to call numbers

When bringing data into Koha, you may want to first clean it up. One common action among Koha users is to add a prefix to the call number.

  • Open MarcEdit:
Screenshot of MARCedit welcome window with list of options.
  • Select ‘MarcEditor’
  • Select Tools > Edit Subfield Data:
Screenshot showing the path to Edit Subfield Data.
  • To prepend data the special character is: ^b  To simply prepend data to the beginning of a subfield, add ^b to the Field Data: textbox and the data to be appended in the Replace:
Screenshot of MARCEdit Edit Subfield Form.
  • To prepend data to the beginning of the subfield while replacing a text string, add ^b[string to replace] to the Field Data textbox and the data to be appended in the Replace With textbox.

Importing Spreadsheet data (e.g., Excel data) into Koha

Suppose you have records of your library in a spreadsheet data format (e.g., comma-delimited) and want to import them into Koha. But how will you do this? Koha will not let you import spreadsheet data format records directly. There is a very simple solution for you which will let you import your spreasheet data records in Koha easily. First, we will convert the spreadsheet file into a MARC file and then will import it into Koha, by following these steps. (For more information on the MARC bibliographic record format, see the Library of Congress' MARC21 Bibliographic website.)

  • Converting from Excel format into .mrk format using MARCEdit by opening it and selecting Add-ins >Delimited Text Translator:
Path to Delimited Text Translator.
  • The following window will appear; select Next:
MARCEdit window with the Next button.
  • Browse for your spreadsheet file:
Screenshot showing the folder icon which should be selected.
  • Locate your spreadsheet file; e.g., for an Excel file, choose the format Excel File(*.xls):
Screenshot showing the Excel(.xls) option.
  • Similarly, fill all the other entries such as Output File, Excel Sheet Name and check UTF-8 Encoded (if required) and select Next:
Text Translator form screenshot.
  • Now you will be prompted for mapping the spreadsheet fields to MARC fields, e.g., suppose for Field 0 (first column in our example) we map to: 022$a (Valid ISSN for the continuing resource), then we select Apply. You can customize indicators, etc.:
MARCEdit Delimited Text Translator form.
  • Similarly map all other fields and then Click on Finish:
Final steps in filling in form with Finish button.
  • A window will appear indicating that your Marc Text File(*.mrk) has been created:
File creation success window.
  • Select Close, and you will have created your MARC file, and can browse to view it. The next step is to convert the .mrk file that we have created in the above step into raw MARC format that can be directly imported into Koha. For this step, open MarcEdit and Select MARC Tools:
Location of Marc Tools option on welcome window.
  • Next Select MarcMaker to convert .mrk file into .mrc format:
Location of MarcMaker option and feature description.
  • Locate the .mrk file that we created in the above steps, and name your output file. Then select Execute:
File naming form with Execute button.
  • When finished, it will show you the result:
File conversion result window.
  • Select Close, and now we have raw MARC bibliographic records as an .mrc file. The next step is to Stage MARC Records for Import, using your created .mrc file.