-
Notifications
You must be signed in to change notification settings - Fork 492
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
Mismatch between export and import DDI functions #6650
Comments
Thanks @lubitchv for the report. @jggautier do you feel the first part of this is a duplicate of #3297? And for the custom metadata blocks, we'd only expect those to be exported as part of the JSON export, correct? |
@djbrooke I started to work on this issue since we need to export and import metadata. Json export/ import seems to import with files and we need only metadata. Also json import seems not to work with published existing doi that needed to stayed unpublished (datasets) after import. But it is already another issue. |
That's great @lubitchv, thanks for your continued work on Dataverse! It was really neat seeing the Data Curation Tool in action last week. I'll assign this to you for now, and we'll be happy to provide any feedback or answer any questions as you work towards a PR. |
I'm not sure. Since #3297 is about indexing fields from OAI-PMH harvested DDI metadata, is the code used when harvesting DDI metadata the same code used by the API endpoint for importing DDI metadata? If it's not the same code, are both methods for importing DDI metadata (with the API endpoint and over OAI-PMH) mapping DDI elements to Dataverse fields in the same way?
I think so. I wouldn't expect to be able to map fields from the "Astronomy and Astrophysics", "Life Sciences" and "Journal" metadatablocks to DDI Codebook elements. |
My reading of #3297 is that it is indeed a duplicate of this issue. The core of it, as reported back then was the same thing: mismatch between what we export, and how we import. |
The question from the original description of the issue, about exporting metadata from other custom blocks as DDI - just to confirm what others have said above, DDI is a narrowly specialized format, purposefully designed for quantitative social sciences. There shouldn't be any assumption that we could possibly use it for all of our custom metadata. |
We tried to export DDI xml metadata from one instance of dataverse and import that metadata into another. We noticed that not all the fields there imported, for example Related Publications (relPubl). The reason seems to be in mismatch between export and import DDI functions. Some fields are missing in export and not exported and hence although import function has them, they cannot be imported.
It seems also that export is not always DDI complaint and has fields in wrong sections. There is also misspelling, for example, in export there is estSmpErr field but in import EstSmpErr.
Another issue is more problematic. Whole sections of metadata are not exported, such as "Astronomy and Astrophysics", "Life Sciences" and "Journal" metadata. I do not know if it is possible to fix since it does not look like that DDI standard has corresponding fields that can be used.
The text was updated successfully, but these errors were encountered: