ajnyga / funding

Funding plugin integrates Crossref Funder registry to OJS3 and OMP3
GNU General Public License v3.0
6 stars 17 forks source link

Support for Datacite fundingReferences #18

Closed ajnyga closed 6 years ago

ajnyga commented 6 years ago

After changing the database model according to this issue #16 we can save different kinds of funding data.

https://schema.datacite.org/meta/kernel-4.0/example/datacite-example-fundingReference-v.4.0.xml

<fundingReferences>
<fundingReference>
<funderName>European Commission</funderName>
<funderIdentifier funderIdentifierType="Crossref Funder ID">http://doi.org/10.13039/501100000780</funderIdentifier>
<awardNumber awardURI="http://cordis.europa.eu/project/rcn/100180_en.html">282625</awardNumber>
<awardTitle>MOTivational strength of ecosystem services and alternative ways to express the value of BIOdiversity</awardTitle>
</fundingReference>
</fundingReferences>
CrossRef Datacite OpenAIRE
funder_identifier = funderIdentifier = missing
funder_name = funderName = Funder*
award_number = awardNumber = projectID**
missing = awardTitle = ProjectName
missing = awardURI = missing
missing = missing = ProjectAcronym
missing = missing = FundingProgramme***

* Only two options: European Commission (EC) or Wellcome Trust (WT)? For OAI the acronyms are used. ** Not sure if the projectID is/can be the exact same thing? *** only two options: FP7 and H2020?

Sources: https://support.crossref.org/hc/en-us/articles/214360746-Funding-data-overview https://guidelines.openaire.eu/en/latest/literature/field_projectid.html https://schema.datacite.org/meta/kernel-4.0/

bozana commented 6 years ago

In order to add this to the DataCite export we will first need to support the newest DataCite metadata schema 4. The only problem is the required resourceType element and resourceTypeGeneral attribute. And the problem is only for supplementary files because they do not have it currently. For resourceType we could use the Genre name, but I am not sure what to use for resourceTypeGeneral except of the very wide "Dataset" term. I will ask DataCite, but if we do not manage to implement this for the coming release (this week) maybe to defer also this issue to the next OJS 3.1.1 release?

bozana commented 6 years ago

Oh, I've just seen that also an empty element is OK, i.e. something like: <resourceType resourceTypeGeneral="Dataset"/>. I believe we can use that well for supplementary files :-) Or maybe even: <resourceType resourceTypeGeneral="Dataset">Supplementary Resource</resourceType>

bozana commented 6 years ago

@ajnyga, do you think we should consider the funding data when exporting/registering the galleys (and supp files)?

bozana commented 6 years ago

PR: https://github.com/ajnyga/funding/pull/20

bozana commented 6 years ago

@ajnyga, I merged my changes -- if you find something wrong I can fix... For now, I only add funding data when exporting articles in DataCite. I can add it to galleys too... if needed... -- I am not sure... :-\

ajnyga commented 6 years ago

@bozana Great, thanks!

I have no idea. But I would imagine that when exporting galleys the metadata would always include a reference to an article? And if that article has the funder data attached, then Datacite should be able to resolve the funder also for individual galleys?

Also, I realized that I did not touch the crossref export part so it is probably not working at the moment because of the dao and database changes?

bozana commented 6 years ago

I have no idea. But I would imagine that when exporting galleys the metadata would always include a reference to an article? And if that article has the funder data attached, then Datacite should be able to resolve the funder also for individual galleys?

Yes. Then maybe just the case when someone is assigning the DOIs only to the galleys (and not to the articles). And I've just realized that I actually do insert the funding data for galley export. Then I should maybe remove it... Hmmm... :-\

Also, I realized that I did not touch the crossref export part so it is probably not working at the moment because of the dao and database changes?

I did that, so everything OK :-)

Thanks a lot!!!