Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Comments

replace date_published with publication_date in zenodo crosswalk#285

Merged
progval merged 5 commits intocodemeta:developfrom
vuillaut:zenodo
Apr 24, 2023
Merged

replace date_published with publication_date in zenodo crosswalk#285
progval merged 5 commits intocodemeta:developfrom
vuillaut:zenodo

Conversation

@vuillaut
Copy link
Contributor

date_published is not a Zenodo keyword but publication_date is

see https://developers.zenodo.org/#representation

@vuillaut
Copy link
Contributor Author

However, it is probably not the right date either in the crosswalk, if I believe the terms definition:

dateCreated | Date or DateTime | The date on which the CreativeWork was created or the item was added to a DataFeed.
dateModified | Date or DateTime | The date on which the CreativeWork was most recently modified or when the item’s entry was modified within a DataFeed.
datePublished | Date | Date of first broadcast/publication.

Then, it is dateModified that should be used in the crosswalk to publication_date

@tmorrell
Copy link
Contributor

I disagree with the proposed mapping to dateModified. publication_date in Zenodo is exactly analogous to datePublished, since it's set by the user for whenever they believe the work was published.

dateModified would map to the Zenodo updated field, which is a system field instead of a metadata field. I'm honestly not sure how we'd indicate that in the crosswalk file.

If we're saying the crosswalk should be a direct mapping to the api endpoint, then all the zenodo terms should prefixed with metadata (e.g. metadata.publication_date). But that's more annoying for people reading it.

@vuillaut
Copy link
Contributor Author

I disagree with the proposed mapping to dateModified. publication_date in Zenodo is exactly analogous to datePublished, since it's set by the user for whenever they believe the work was published.

dateModified would map to the Zenodo updated field, which is a system field instead of a metadata field. I'm honestly not sure how we'd indicate that in the crosswalk file.

If we're saying the crosswalk should be a direct mapping to the api endpoint, then all the zenodo terms should prefixed with metadata (e.g. metadata.publication_date). But that's more annoying for people reading it.

I certainly misunderstand the terms' definition, then.
I made the modification according to @tmorrell's comment.

@progval progval added this to the v2.1 milestone Apr 24, 2023
@progval progval changed the base branch from master to develop April 24, 2023 13:26
@progval progval merged commit b006530 into codemeta:develop Apr 24, 2023
@vuillaut vuillaut deleted the zenodo branch June 15, 2023 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants