Skip to content

Full support for Dataset MetaData objects #6

Open

Description

@richarda23

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.

Activity

  1. pdurbin commented on Oct 14, 2016

    @pdurbin
    Member

    @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?

  2. richarda23 commented on Oct 14, 2016

    @richarda23
    CollaboratorAuthor

    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 notifications@github.com 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.

  3. pdurbin commented on Oct 14, 2016

    @pdurbin
    Member

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

  4. pdurbin commented on Dec 8, 2022

    @pdurbin
    Member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions