-
Notifications
You must be signed in to change notification settings - Fork 0
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
Rename fields in Strapi data (RPB-160) #81
Conversation
No change in lobid output data expected after running: `sbt "runMain rpb.ETL conf/rpb-test-titel-to-strapi.flux"` `sbt "runMain rpb.ETL conf/rpb-test-titel-to-lobid.flux"` Or, as a shortcut to run both: `sbt "test-only tests.EtlTest"`
And add filter to exclude in lobid transformation if `true` See `transformAndImportTest.sh` for testing Strapi import
Add record with `f21_` to test data
Noticed while testing import for RPB-160
To `volume`, `issue`, `year`, `pages`, `alternativeNumbering` Grouped as `bibliographicCitation` in lobid data
(Noticed while working on RPB-160)
(Is transformed to flat `note` array for lobid)
In Strapi title data; -> `subject.componentList` in lobid (RPB-160)
f01.f01_ -> volumeIn.numbering # Zählung (Vorlage) f01.f01s -> volumeIn.sortBy # Zählung (Sortierform) f01.f01u -> volumeIn.value # Verknüpfung zur MtM (ÜO)
In Strapi independent-work data (RPB-160)
Subfields `f87.f87_` to `isbn.value`, `f87.n87` to `isbn.valid`
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my comment. But I am not actually sure whether adjustments are needed and might have misinterpreted something.
@@ -65,7 +65,7 @@ | |||
"type" : [ "Contribution" ] | |||
}, { | |||
"agent" : { | |||
"id" : "https://d-nb.info/gnd/VCN 77", | |||
"id" : "VCN 77", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the output for elasticsearch, right? It does not look correct that the id
field is filled with a non-URI string. There is the same problem in conf/output/test-output-65.json.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's actually kind of a fix: if the value in the source field is not actually an ID (but a label), we no longer prepend the base URI. For consistency (to always have id
and label
), the label is used for the ID field. This might not be the final solution, but I think we can look into this when we tweak the web UI.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
See https://jira.hbz-nrw.de/browse/RPB-160