Skip to content

List of linked dataverses in UI and API #9650

@pkiraly

Description

@pkiraly

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"}
    ]
  }
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions