Closed mih closed 8 months ago
I've started on this example:
https://api.test.datacite.org/dois/10.82433/9184-DY35?publisher=true&affiliation=true seems to be a suitable starting point.
(see full record below)
Notes:
rec = record["data"]["attributes"]
name
fieldtitle
= rec["titles"][0]["title"]
description
= rec["descriptions"][0]["description"]
("descriptionType" = "Abstract"
)landing_page
= rec["relatedIdentifiers"][1]["relatedIdentifier"]
("relationType" = "IsSourceOf"
)version
= rec["version"]
modified
: get from rec["updated"]
which has value "2024-01-02T20:15:20.000Z"
keyword
: get from rec["subjects"]
(no explicit keyword
s found in the metadata record)identifier
: get from rec["doi"]
which has value 10.82433/9184-dy35
; however, the doi https://doi.org/10.82433/9184-dy35 does not resolve, but still seems to be the only viable identifier (rec["identifiers" = []
)TBC
Done via #99
https://schema.datacite.org/meta/kernel-4.5/ has a few.
https://api.test.datacite.org/dois/10.82433/9184-DY35?publisher=true&affiliation=true seems to be a suitable starting point.