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

Add support for pre-processing MARC data before posting record batches #18

Closed
btravisebsco opened this issue Oct 11, 2024 · 0 comments · Fixed by #19
Closed

Add support for pre-processing MARC data before posting record batches #18

btravisebsco opened this issue Oct 11, 2024 · 0 comments · Fixed by #19

Comments

@btravisebsco
Copy link
Contributor

Description

When processing records from a 3rd-party provider, some pre-processing may be necessary to appropriately match those records to existing records in FOLIO via Data Import match profiles. MARCDataImport.py should provide a facility to apply such pre-processing to the records it is handling.

At a minimum, we need to provide a way to add a source prefix to an incoming 001:

  • 001 12345678 -> 001 (PPN)12345678

Initial implementation could provide a --prefix001 option that accepts a string value or --prefix003 that takes the 003 value and prepends it, 001->035 style to the 001 and then removes the 003.

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