Closed slint closed 1 month ago
funders
vocabulary testingThis issue was fixed in #309
convert
command$ invenio vocabularies convert -v funders -o v1.46-2024-05-02-ror-data.zip -t funders.yaml
isni
, doi
, grid
title
in other languages than en
(e.g. fi: Suomen Akatemia
and sv: Finlands Akademi
for https://ror.org/05k73zm37)05k73zm37
is now Research Council of Finland
instead of Academy of Finland
, https://ror.org/05k73zm37 shows the "old" name as an alias, but we don't use them in the funders transformation)country
appears before the id
; order other than alphabetical can be achieved by setting sort_keys=False
in yaml.safe_dump
import
commandinvenio vocabularies import -v funders -o ../v1.46-2024-05-02-ror-data.zip
FundersServiceWriter: ["Vocabulary entry already exists: {'id': '000000000', 'name': 'Name', 'country': 'CH', 'title': {'en': 'Name'}, 'identifiers': [{'identifier': '000000000', 'scheme': 'ror'}, {'identifier': '0000 0000 0000 0000', 'scheme': 'isni'}, {'identifier': '10.13039/000000000000', 'scheme': 'doi'}, {'identifier': 'grid.00000.00', 'scheme': 'grid'}]}"]
update
command instead of the import
command should update existing entries instead of showing warnings (did not test it yet)Closing for now since the ROR datastreams funders update works with the fix for the 2 JSON files linked to this issue. Other tasks like migrating affiliations to use datastreams, or upgrading to ROR v2 format, will be done as separated tasks.