Outcomes metadata redundant with DOI metadata
In _data\outcomes.yml
, some information could be retrieved from the DOI directly.
For example looking at the PaNET ontology sustainability sheet, Zenodo's API https://zenodo.org/api/records/7684471
provides the following:
{
"conceptdoi": "10.5281/zenodo.7684470",
"conceptrecid": "7684470",
"created": "2023-02-28T14:55:25.331878+00:00",
"doi": "10.5281/zenodo.7684471",
"files": [...],
"id": 7684471,
"links": [...],
"metadata": {
"access_right": "open",
"access_right_category": "success",
"communities": [
{
"id": "expands"
}
],
"creators": [
{
"affiliation": "Diamond",
"name": "Collins, Steve",
"orcid": "0000-0001-5120-0764"
},
{
"affiliation": "DESY",
"name": "Millar, Paul",
"orcid": "0000-0002-3957-1279"
},
{
"affiliation": "DESY",
"name": "Servan, Sophie",
"orcid": "0000-0001-9191-2475"
}
],
"description": "<p>A sustainability sheet for the Photon and Neutron Experimental Techniques (PaNET) Ontology.</p> [...]",
"doi": "10.5281/zenodo.7684471",
"grants": [
{
"acronym": "ExPaNDS",
"code": "857641",
"funder": {
"acronyms": [],
"doi": "10.13039/501100000780",
"links": {
"self": "https://zenodo.org/api/funders/10.13039/501100000780"
},
"name": "European Commission"
},
"links": {
"self": "https://zenodo.org/api/grants/10.13039/501100000780::857641"
},
"program": "H2020",
"title": "EOSC Photon and Neutron Data Services"
}
],
"keywords": [
"PaNET",
"ExPaNDS",
"sustainability",
"exploitability"
],
"language": "eng",
"license": {
"id": "CC-BY-4.0"
},
"publication_date": "2023-02-28",
"related_identifiers": [
{
"identifier": "10.5281/zenodo.4806026",
"relation": "cites",
"resource_type": "publication-deliverable",
"scheme": "doi"
},
{
"identifier": "10.5281/zenodo.7684470",
"relation": "isVersionOf",
"scheme": "doi"
}
],
"relations": {
"version": [
{
"count": 1,
"index": 0,
"is_last": true,
"last_child": {
"pid_type": "recid",
"pid_value": "7684471"
},
"parent": {
"pid_type": "recid",
"pid_value": "7684470"
}
}
]
},
"resource_type": {
"subtype": "report",
"title": "Report",
"type": "publication"
},
"title": "PaNET ontology sustainability sheet",
}
"owners": [91532],
"revision": 3,
"stats": {
"downloads": 49.0,
"unique_downloads": 48.0,
"unique_views": 56.0,
"version_downloads": 49.0,
"version_unique_downloads": 48.0,
"version_unique_views": 56.0,
"version_views": 60.0,
"version_volume": 70468664.0,
"views": 60.0,
"volume": 70468664.0
},
"updated": "2023-03-20T15:55:33.571871+00:00"
Possibly interesting:
- "conceptdoi" to replace the provided
doi
if it's not the concept one being used. - "updated" to replace the
last-update
inoutcomes.yaml
. - "metadata"/"grants"/"acronym" to replace the
project
inoutcomes.yaml
.
How? Javascript in the page or maybe better with CI/CD?