-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Addressed all the points in the 'Initial feedback user story 10 - gra…
…nt outputs #1' github issue
- Loading branch information
Robert Petryszak
committed
May 12, 2020
1 parent
d36f5e6
commit 3cb4bc6
Showing
3 changed files
with
689 additions
and
300 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,4 @@ requests==2.22.0 | |
six==1.13.0 | ||
urllib3==1.25.7 | ||
matplotlib==3.2.1 | ||
chord==0.0.11 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,49 @@ | ||
# Grant Outputs Notebook | ||
|
||
## [FREYA](https://www.project-freya.eu/en) WP2 [User Story 10](https://github.com/datacite/freya/issues/45): As a funder, we want to be able to find all the outputs related to our awarded grants, including block grants such as doctoral training grants, for management info and looking at impact. | ||
### Jupyter Notebook: | ||
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/datacite/pidgraph-notebooks-python/master?filepath=user-story-10-grant-outputs%2Fpy-grant-outputs.ipynb) | ||
|
||
### Examples of GraphQL Queries Used: | ||
* Get outputs of [FREYA grant award](https://cordis.europa.eu/project/id/777523) from [European Commission](https://doi.org/10.13039/501100000780) | ||
|
||
```GraphQL | ||
{ | ||
funder(id: "https://doi.org/10.13039/501100000780") { | ||
name | ||
works(query: "fundingReferences.awardNumber:777523", first: 75) { | ||
totalCount | ||
nodes { | ||
id | ||
formattedCitation(style: "vancouver") | ||
titles { | ||
title | ||
} | ||
descriptions { | ||
description | ||
} | ||
types { | ||
resourceType | ||
} | ||
dates { | ||
date | ||
dateType | ||
} | ||
versionOfCount | ||
creators { | ||
id | ||
name | ||
} | ||
fundingReferences { | ||
funderIdentifier | ||
funderName | ||
awardNumber | ||
awardTitle | ||
} | ||
citationCount | ||
viewCount | ||
downloadCount | ||
} | ||
} | ||
} | ||
} | ||
``` |
Oops, something went wrong.