FOLIO-FSE / FOLIO-FSE/folio_migration_tools

Support generating Instance Relationships (parent/child) during MARC Bib transformation

Open
#843 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
14
Forks
10
Avg merge
55m
Merged PRs (30d)
7

Description

The MARC transformation process does not currently handle creation of FOLIO instance relationships during the migration, requiring a bolt-on process that must also read all of the incoming MARC data. We should add support to the BibTransformer task for tracking 773/774 relationship information during initial transform process and subsequently generate the appropriate FOLIO instance relationship records as "extradata" records.

Todo:

- [ ] Add handling to the BibTransformer/BibMapper tasks to capture occurrences of 773/774
- [ ] Create a new migration task that uses the captured 773/774 data to generate the Instance Relationship records

Considerations:
* Do we assume the nature of the relationship (parent/child) or should/could we (optionally) map this information from data in the 773/774?
* How do we handle the identifier ($w) translation to FOLIO instance UUID?

Contributor guide

Open the contributing guide

Research direction

Start by locating the BibTransformer and BibMapper tasks and tracing how MARC data is captured during the initial transformation. Then inspect how migration tasks emit "extradata" records and determine the expected handling for 773/774 occurrences, relationship nature, and $w-to-FOLIO-instance UUID translation. Done means the transform captures the data and a migration task generates the appropriate instance relationship records.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.