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

List of linked dataverses in UI and API #9650

Closed
2 of 5 tasks
pkiraly opened this issue Jun 16, 2023 · 3 comments · Fixed by #9665
Closed
2 of 5 tasks

List of linked dataverses in UI and API #9650

pkiraly opened this issue Jun 16, 2023 · 3 comments · Fixed by #9665
Labels
Feature: Metadata Type: Feature a feature request User Role: Depositor Creates datasets, uploads data, etc.
Milestone

Comments

@pkiraly
Copy link
Member

pkiraly commented Jun 16, 2023

When I worked with dataset links, I found a number of inconsistencies:

  • the links are displayed in the dataverse, but they are not displayed in the dataset page
  • both the UI and the user documentation of the linking says, that it is not possible to delete a link, the user should contact the site admin. The administration section describes an API of link deletion, but this section is not linked from the above mentioned locations
  • the documentation also does not mention any ways how one can get the links via API or SQL commands
  • there is an undocumented API for get a list of a particular dataset
  • this API returns a semi structured output:
$ curl -s -H "X-Dataverse-key:$API_TOKEN" $SERVER_URL/api/datasets/56782/links

it returns:

{
  "status": "OK",
  "data": {
    "dataverses that link to dataset id 56782": [
      "crc990 (id 18802)"
    ]
  }
}

There is an issue which lists related issues (IQSS/dataverse-pm#65). As I checked they covered other problems with the linking, and most of them are not active recently, but it turns that from time to time this group of issues get some focus.

What I suggest here is some small steps, which does not require lots of efforts to make Dataverse a bit more consistent

{
  "status": "OK",
  "data": {
    "dataset_id": 56782,
    "linked-dataverses": [
      {"id": 18802, "alias": "crc990"}
    ]
  }
}
@pdurbin pdurbin transferred this issue from IQSS/dataverse-pm Jun 16, 2023
@pkiraly
Copy link
Member Author

pkiraly commented Jun 16, 2023

@pdurbin Are you with it if I create individual PRs for each of the solutions I listed at the end of the description? Should I create new tickets for them?

@pdurbin
Copy link
Member

pdurbin commented Jun 16, 2023

@pkiraly we have a fast track for documentation-only PRs so I would suggest making those first.

pkiraly added a commit to pkiraly/dataverse that referenced this issue Jun 16, 2023
…dministration documentation about deleting links
pdurbin added a commit that referenced this issue Jun 16, 2023
…lated-to-linked-dataverse

#9650 add link from the user documentation about linking to the administration documentation about deleting links
pkiraly added a commit to pkiraly/dataverse that referenced this issue Jun 19, 2023
pkiraly added a commit to pkiraly/dataverse that referenced this issue Jun 19, 2023
pkiraly added a commit to pkiraly/dataverse that referenced this issue Jun 19, 2023
pkiraly added a commit to pkiraly/dataverse that referenced this issue Jun 20, 2023
pkiraly added a commit to pkiraly/dataverse that referenced this issue Jun 20, 2023
pkiraly added a commit to pkiraly/dataverse that referenced this issue Jun 20, 2023
kcondon added a commit that referenced this issue Jun 20, 2023
…ocumentation

#9650 documenting the API call to list dataverses linked to a dataset
@pdurbin
Copy link
Member

pdurbin commented Jul 26, 2023

@pkiraly thanks for breaking this down into smaller chunks!

Can you please look at this issue?

Do you want that as well?

@pdurbin pdurbin added Type: Feature a feature request Feature: Metadata User Role: Depositor Creates datasets, uploads data, etc. labels Oct 10, 2023
@DS-INRAE DS-INRAE moved this to ⚠️ Needed/Important in Recherche Data Gouv Jul 10, 2024
stevenwinship pushed a commit to pkiraly/dataverse that referenced this issue Sep 12, 2024
stevenwinship pushed a commit to pkiraly/dataverse that referenced this issue Sep 12, 2024
stevenwinship pushed a commit to pkiraly/dataverse that referenced this issue Sep 25, 2024
stevenwinship pushed a commit to pkiraly/dataverse that referenced this issue Sep 25, 2024
@github-project-automation github-project-automation bot moved this from ⚠️ Needed/Important to Done in Recherche Data Gouv Oct 2, 2024
@pdurbin pdurbin added this to the 6.5 milestone Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: Metadata Type: Feature a feature request User Role: Depositor Creates datasets, uploads data, etc.
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants