Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Determine if we can) map FOLIO instance data to the MARC leader #1343

Open
cbeer opened this issue Feb 20, 2024 · 6 comments
Open

(Determine if we can) map FOLIO instance data to the MARC leader #1343

cbeer opened this issue Feb 20, 2024 · 6 comments
Assignees

Comments

@cbeer
Copy link
Member

cbeer commented Feb 20, 2024

In Symphony, our MARC leaders were always populated with the format information (e.g. "This thing is a book"). In FOLIO, we're not mapping anything from the FOLIO instance metadata into the MARC leader, leading to some funny behavior where we expected there'd be required data (e.g. sul-dlss/SearchWorks#3970).

Is there data we can + should map into the MARC leader in MarcRecordInstanceMapper? https://folio-org.atlassian.net/wiki/spaces/FOLIOtips/pages/5673766/Default+MARC+Bibliographic-to-Inventory+Instance+Mappings indicates that FOLIO maps the MARC leader byte 7 information to FOLIO instance metadata.

  1. Inventory what MARC leader data we're using in the indexer
  2. Talk with Alissa et al about what/where/how to map data from the instance to FOLIO
  3. Implement the mapping when we're constructing our own MARC records from FOLIO instance metadata.
@marlo-longley marlo-longley self-assigned this Feb 21, 2024
@hudajkhan
Copy link
Contributor

May also relate to #3970 (SearchWorks)

@marlo-longley marlo-longley removed their assignment Feb 27, 2024
@taylor-steve taylor-steve self-assigned this Feb 27, 2024
@taylor-steve
Copy link
Contributor

In the indexer we are:

Building format_main_ssim from:

Building genre_ssim:

@ahafele
Copy link

ahafele commented Feb 29, 2024

This is tricky given the slim Instance creation requirements. I could work on a mapping that would get you some ldr info some times, but the data won't always be in the instance record.

Here is the default Instance to MARC mapping that FOLIO's Data Export app uses - https://github.com/folio-org/mod-data-export/blob/master/src/main/resources/rules/rulesDefault.json. It only attempts to map 3 leader positions, none of which are those we are concerned with. The data requirements for instance creation are only Title and Resource Type.

LDR 06 could probably be mapped from the Resource Type, example Resource Type = cartographic image maps to ldr/06 e - Cartographic material

LDR 07 wouldn't be possible unless the Mode of Issuance field gets populated in the Instance record. Mapping would be fairly direct.

The above also doesn't address and 008 population or lack thereof.

More than happy to work on a mapping if it seems worth pursuing - let me know.

@taylor-steve
Copy link
Contributor

The FOLIO code confirms the export rules you shared, very minimal: https://github.com/folio-org/generate-marc-utils/blob/38d217f5b25592d627492630a0636e1b2c7a25c7/src/main/java/org/folio/writer/impl/MarcRecordWriter.java#L33

If everything is a fairly direct mapping, I'd say let's give it a try @ahafele, unless @cbeer has different thoughts. Even getting things in generally the right "bucket" for those positions seems to have value?

@ahafele
Copy link

ahafele commented Mar 1, 2024

I took a quick pass at a simple ldr 06/07 mapping. If utilized, should be reviewed by Jeanette/Metadata first. https://docs.google.com/spreadsheets/d/1WoSe_9DSX5g5mTLuLumfpeIDeFVn_inH8s1gsnq_TU8/edit#gid=0

@taylor-steve
Copy link
Contributor

Noting that Jeanette has suggested some refinements but would like to look into it further, early next week. I will update as soon as that happens.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants