Giter Club home page Giter Club logo

prange-metadata's Introduction

Prange Metadata Harvesting and Manipulation Program

Description

A program to process and validate metadata spreadsheets, pulling additional data from MARC records using pymarc.

##Data Paths ~/Box\ Sync/PrangeMetadataStuff/CSV-data-conversion/csv/ ~/Box\ Sync/PrangeMetadataStuff/CSV-data-conversion/excel/ ~/Box\ Sync/PrangeMetadataStuff/CSV-data-conversion/marc/ ~/Box\ Sync/PrangeMetadataStuff/CSV-data-conversion/tsv/

Pseudocode

  1. Read Spredsheet Data.
  2. Load MARC file into array using pymarc.
  3. Check Spreadsheet Header Rows Against One Another.
  4. Search for matching MARC records.
  5. Report on possible matches.
  6. Pull data over from MARC to main array.
  7. Output main array into single CSV file for ingest into Fedora.

Data Wrangling Algorithm

  1. Remove brackets from author names (were used to indicate supplied names, but not needed for Digital Collections).
  2. Separate the term for "editor" (編, 編纂, 編集, 編輯) from the name of the editor; and likewise remove the term for author (著) from the author column
  3. Separate page count info from dimensions; create sum of page counts where multiple page counts have been listed.
  4. Remove Japanese dates from publication date field.
  5. Remove the Y abbreviation for Yen.

Subject Terms Matching

  1. Compare call no. from spreadsheet against field 852h (where multiple call nos. in Aleph, check each one); if only one match is found, trust the match.
  2. If no match found, try matching 852i or combined 852h + i.
  3. If no match found, try matchign after removing volume info from call no.
  4. If no match found, try matching on Author/Title.
  5. If multiple matches found, flag record for follow up.
  6. Output a report of all matches by each of the various methods, as well as a list of unmatched records from the spreadsheets.

prange-metadata's People

Contributors

jwestgard avatar

Watchers

Ammar Yousuf avatar James Cloos avatar  avatar Mohamed Mohideen Abdul Rasheed avatar Paul Hammer avatar Cindy Zhao avatar Shian Chang avatar Jennie Levine Knies avatar Jeremy Gottwig avatar  avatar Peter Eichman avatar  avatar Dinesh Mendhe (Hanuman) avatar Tiffany Schoneboom avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.