add(staff-association): new model and transformation rules#391
add(staff-association): new model and transformation rules#391zubeydecivelek wants to merge 1 commit into
Conversation
08ed04c to
888e70b
Compare
| "manuscript": { | ||
| "relation_type": {"id": "isderivedfrom"}, | ||
| "resource_type": {"id": "publication-preprint"}, | ||
| }, |
There was a problem hiding this comment.
Example record: https://cds.cern.ch/record/2846702
There was a problem hiding this comment.
is it the only record? because this particular one is not a preprint
There was a problem hiding this comment.
yes that's the only record
There was a problem hiding this comment.
then please check with the curators what it should be, this one seems incorrect
| if value == "bulletinstaff": | ||
| # TODO what is the resource type? | ||
| return {"id": "publication-periodicalarticle"} |
There was a problem hiding this comment.
Is resource_type correct?
cd7693e to
ec6be3c
Compare
| "110__a", # corporate author, always CERN, safe to ignore | ||
| "300__a", # number of pages | ||
| "336__a", # DM metadata | ||
| "506__m", # 2120833, ignored with confirmation from IR-ECO-CO |
There was a problem hiding this comment.
does it mean we need to ask them?
There was a problem hiding this comment.
Ignore keys are copied from bulletin. But I can check them again and verify with library if it's needed
There was a problem hiding this comment.
I checked the rules, 506__m doesnt exist for staff association. But we need to figure out multiple submitters, most of the records(2595/3306) have 859__a with different values.
ae3d8bb to
2da547f
Compare
| _default_fields = { | ||
| # TODO should we keep this custom field? | ||
| "custom_fields": {"journal:journal": {"title": "CERN Bulletin"}}, |
There was a problem hiding this comment.
Do we want this custom field like bulletin?
2da547f to
5e9156f
Compare
No records found with
scripts/dump_legacy_recids_to_redirect.py