datacommonsorg/website

Provide support for alternate urls in graphs/variable explorer

sekmiller opened this issue · 2 comments

We provide the provenance json file with a URL in the format https://doi.org/xxxxx/xxx/xxxxxxx that resolves to a Dataset in The Harvard Dataverse. The link that is provided with the graph or in the variable browser is simply doi.org. A user clicking on the link is properly brought to the Dataverse dataset as expected, but we would like the link to be displayed as dataverse.harvard.edu or the base url of any other Dataverse installation that may provide data to the GDC. One option could be to allow for another field in addition to the URL field, e.g. “Displayed url” or similar to be added to the provenance file.

If you would like to use "dataverse.harvard.edu", can you put that as the provenance url in provenance.json?

@shifucun Sorry I didn't get back to you sooner on this.

We want the link to open up the dataset in Dataverse that is associated with the graph displayed. For us we have a permanent url to the dataset that looks like this: https://doi.org/10.7910/DVN/PQGHKA - this link will open the dataset in Dataverse, but instead of the display on the graph being "doi.org" We'd like it to be "Harvard Dataverse". If we could add that element to the provenance json that would be the ideal solution. We do have an alternative url that looks like this: https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/PQGHKA - the problem is that we are in the process of revising the UI of the Dataverse and we don't guarantee that the url will continue to work with the coming UI.