Skip to content

Release for the SWIB19 conference

Compare
Choose a tag to compare
@pkiraly pkiraly released this 28 Nov 11:10

Installation

  1. wget https://github.com/pkiraly/metadata-qa-marc/releases/download/v0.2.1/metadata-qa-marc-0.2-SNAPSHOT-release.zip
  2. unzip metadata-qa-marc-0.2-SNAPSHOT-release.zip
  3. cd metadata-qa-marc-0.2-SNAPSHOT/

Configuration

  1. cp setdir.sh.template setdir.sh
  2. nano setdir.sh

set your path to root MARC directories:

# the input directory, where your MARC dump files exist
BASE_INPUT_DIR=
# the input directory, where the output CSV files will land
BASE_OUTPUT_DIR=
  1. Create configuration based on some existing config files:
  • cp scripts/loc.sh scripts/[abbreviation-of-your-library].sh
  • edit scripts/[abbreviation-of-your-library].sh according to configuration guide

Use

scripts/[abbreviation-of-your-library].sh all-analyses
scripts/[abbreviation-of-your-library].sh all-solr

For a catalogue with around 1 milion record the first command will take 5-10 minutes, the later 1-2 hours.