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

Full support for Dataset MetaData objects #6

Open
richarda23 opened this issue Oct 13, 2016 · 4 comments
Open

Full support for Dataset MetaData objects #6

richarda23 opened this issue Oct 13, 2016 · 4 comments

Comments

@richarda23
Copy link
Collaborator

This is currently a bit patchy.
Implementing a Builder pattern to make Dataset construction a little easier.
Also need to handle optional/mandatory fields
Also validation of input.

@pdurbin Is there any way to programmatically get a list of Subjects and IdentifierSchemes?
I can hard-code based on what I see on the website but would be nice to get from an API call.

@pdurbin
Copy link
Member

pdurbin commented Oct 14, 2016

@richarda23 unfortunately, there is no way to programmatically get a list of subjects since IQSS/dataverse#1510 is still open.

Technically, I added it a while back but it's hidden behind the "admin" API: https://github.com/IQSS/dataverse/blob/v4.5.1/src/main/java/edu/harvard/iq/dataverse/api/DatasetFieldServiceApi.java#L178

Recently we added an "info" API ( http://guides.dataverse.org/en/4.5.1/api/native-api.html#info ) and this would be a natural place to expose the list of subjects.

What do you mean by IdentifierSchemes? Do you mean DOI vs. Handle? What's the use case for exposing this? Hmm, or do you mean identifiers for authors like ORCID IDs?

@richarda23
Copy link
Collaborator Author

What do you mean by IdentifierSchemes?

If you edit a Dataset Metadata, there is sub-field 0f Author called ‘Identifier Scheme’ which is a dropdown list of ORCID,ISNI,LCNA.
If this list is likely to change it would be good to be able to retrieve the list of schemes programatically from the API.
If realistically it’s likely to seldom change I can just hard-code it.

On 14 Oct 2016, at 15:14, Philip Durbin [email protected] wrote:

@richarda23 https://github.com/richarda23 unfortunately, there is no way to programmatically get a list of subjects since IQSS/dataverse#1510 IQSS/dataverse#1510 is still open.

Technically, I added it a while back but it's hidden behind the "admin" API: https://github.com/IQSS/dataverse/blob/v4.5.1/src/main/java/edu/harvard/iq/dataverse/api/DatasetFieldServiceApi.java#L178 https://github.com/IQSS/dataverse/blob/v4.5.1/src/main/java/edu/harvard/iq/dataverse/api/DatasetFieldServiceApi.java#L178
Recently we added an "info" API ( http://guides.dataverse.org/en/4.5.1/api/native-api.html#info http://guides.dataverse.org/en/4.5.1/api/native-api.html#info ) and this would be a natural place to expose the list of subjects.

What do you mean by IdentifierSchemes? Do you mean DOI vs. Handle? What's the use case for exposing this? Hmm, or do you mean identifiers for authors like ORCID IDs?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub #6 (comment), or mute the thread https://github.com/notifications/unsubscribe-auth/AVoDr5PA_YAiYGujAam00cxI1cu2dNFIks5qz45LgaJpZM4KVoF3.

@pdurbin
Copy link
Member

pdurbin commented Oct 14, 2016

@richarda23 ok, that's also a controlled vocabulary so fits into IQSS/dataverse#1510 . Thanks.

@pdurbin
Copy link
Member

pdurbin commented Dec 8, 2022

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

No branches or pull requests

2 participants