-
Notifications
You must be signed in to change notification settings - Fork 535
Description
What we want to achieve
To retrieve the latest datasets information such as updatedAt, dataset version, description, authors, name, keywords and dataverse link through search without the need to perform extra requests. (We believe these heavy operations could be reduced.)
Current scenario:
When searching for files contained in the latest datasets, I am able to retrieve a list of results. However, it requires for an iteration through the results in order to get the dataset information based on doi for each of those results in order to retrieve some of the fields above.
Desired scenario:
No extra iterations are necessary
Current example of search output
{
"name": "demo20190123a",
"type": "dataset",
"url": "https://doi.org/10.5072/FK2/H1DFMX",
"global_id": "doi:10.5072/FK2/H1DFMX",
"description": "demo",
"published_at": "2019-01-23T16:56:36Z",
"citationHtml": "Reilly, Grainne, 2019, \"demo20190123a\", <a href=\"https://doi.org/10.5072/FK2/H1DFMX\" target=\"_blank\">https://doi.org/10.5072/FK2/H1DFMX</a>, Demo Dataverse, V1, UNF:6:xR77FQWCFydmL55sRXuD+w== [fileUNF]",
"identifier_of_dataverse": "demo",
"name_of_dataverse": "Demo Dataverse",
"citation": "Reilly, Grainne, 2019, \"demo20190123a\", https://doi.org/10.5072/FK2/H1DFMX, Demo Dataverse, V1, UNF:6:xR77FQWCFydmL55sRXuD+w== [fileUNF]",
"entity_id": 301815,
"authors": [
"Reilly, Grainne"
]
}
An example of what it might be useful
{
"id": 3066,
"doi": "doi:10.5072/FK2/ML0NCM",
"publisher": "Demo Dataverse",
"storageIdentifier": "file://10.5072/FK2/ML0NCM",
"versionId": 807,
"versionState": "RELEASED",
"createdAt": "2016-05-24T15:32:55Z",
"updatedAt": "2016-05-24T15:35:07Z",
"title": "Test GeoConnect",
"authors": [
"Admin, Dataverse"
],
"contacts": [
{
"fullname": "Admin, Dataverse",
"email": "admin@mailinator.com"
}
],
"description": {
"text": "1"
},
"subject": [
"Arts and Humanities"
],
"keywords": [],
"publication": [],
"producer": {},
"relatedMaterial": [],
"dataSource": [],
"geographicCoverage": [],
}
Potentially, having the datasetId as part of the search result could also be beneficial.
What we are currently doing with some of the metadata blocks
We are mapping metadata blocks to a simpler structure in order to reduce complexity at the client side.
Thanks in advance! We are really enjoying working with Dataverse and collaborating with Dataverse developers