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

Import Author roles from import source data #9844

Open
hornc opened this issue Sep 4, 2024 · 2 comments · May be fixed by #9901
Open

Import Author roles from import source data #9844

hornc opened this issue Sep 4, 2024 · 2 comments · May be fixed by #9901
Assignees
Labels
Module: Import Issues related to the configuration or use of importbot and other bulk import systems. [managed] Theme: MARC records

Comments

@hornc
Copy link
Collaborator

hornc commented Sep 4, 2024

In a MARC import context:
Is there a place to put the role of "translator" in this structure? (based on the 700$4 relator of "trl")?

          Is there a place to put the role of "translator" in this structure? (based on the 700$4 relator of "trl")?

Originally posted by @tfmorris in #9806 (comment)

I believe this is a new feature request, although I think we already have most of the parts in place to mark these contributor roles in our data model, and as @tfmorris mentions it is occasionally/(often?) marked up in the source import records.

Needs some investigation into mapping the role translations from 700$4 to OL contributor fields (or author roles?).

@hornc hornc added the Module: Import Issues related to the configuration or use of importbot and other bulk import systems. [managed] label Sep 4, 2024
@hornc hornc changed the title Is there a place to put the role of "translator" in this structure? (based on the 700$4 relator of "trl")? Import contributor roles from import source data Sep 5, 2024
@hornc
Copy link
Collaborator Author

hornc commented Sep 19, 2024

List of realtor codes for $4:
https://www.loc.gov/marc/relators/

@hornc hornc changed the title Import contributor roles from import source data Import Author roles from import source data Sep 19, 2024
@hornc hornc self-assigned this Sep 19, 2024
@hornc
Copy link
Collaborator Author

hornc commented Sep 19, 2024

Two of the current test bin MARCs use $4 roles:

for f in *.mrc; do echo $f ; yaz-marcdump $f | egrep '^7...*\$4' ;done | egrep -B1 '^7...*\$4'

ithaca_college_75002321.mrc
700 10 $a Pechman, Joseph A., $d 1918- $4 edt
700 10 $a Timpane, P. Michael, $d 1934- $4 edt
--
lesnoirsetlesrou0000garl_meta.mrc
700 1  $a Raynaud, Vincent, $d 1971- ... $4 trl $0 (FrPBN)13619036 $0 (isni)0000000121358771
  • Update test expectations
  • Use the MARC realtor code list to populate "role" for these names

hornc added a commit to hornc/openlibrary-1 that referenced this issue Sep 20, 2024
@hornc hornc linked a pull request Sep 23, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Module: Import Issues related to the configuration or use of importbot and other bulk import systems. [managed] Theme: MARC records
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant