Skip to content

Commit

Permalink
Addressed feedback from #2
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Petryszak committed May 13, 2020
1 parent 02672dd commit 8feec27
Show file tree
Hide file tree
Showing 2 changed files with 450 additions and 599 deletions.
70 changes: 69 additions & 1 deletion user-story-1-datacenter-publication-citations/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,71 @@
# Grant Outputs Notebook
## [FREYA](https://www.project-freya.eu/en) WP2 [User Story 1](https://github.com/datacite/freya/issues/30): As a data center, I want to see the citations of publications that use my repository for the underlying data, so that I can demonstrate the impact of our repository.

### Jupyter Notebook:
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/datacite/pidgraph-notebooks-python/master?filepath=user-story-1-datacenter-publication-citations%2Fpy-datacenter-publication-citations.ipynb)

### Examples of GraphQL Queries Used:

* Get works matching the query "Lake Malawi" from [the Global Biodiversity Information Facility](https://www.gbif.org/)

```
{
pangaea: repository(id: "gbif.gbif") {
id
name
citationCount
works(query:"Lake Malawi") {
totalCount
years {
title
count
}
nodes {
id
type
publicationYear
bibtex
titles {
title
}
citationCount
viewCount
downloadCount
}
}
}
}
```

* Get citations of work [IUCN Red List assessment occurrence data for freshwater species native to the Lake Malawi/Nyasa/Niassa Catchment](https://doi.org/10.15468/1z5fn8)

```
{
work(id: "https://doi.org/10.15468/1z5fn8") {
id
titles {
title
}
type
publicationYear
citations(first: 75) {
totalCount
nodes {
id
type
publicationYear
repository {
id
name
}
titles {
title
}
bibtex
citationCount
viewCount
downloadCount
}
}
}
}
```

0 comments on commit 8feec27

Please sign in to comment.