Last active
April 19, 2017 06:50
-
-
Save blahah/c692086e5206724689673f3f001d4031 to your computer and use it in GitHub Desktop.
split crossref openretractions into separate files for API
This file contains hidden or 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
| cat ../crossref_processed.json | while read entry | |
| do | |
| doi=$(echo $entry | jq -r '.doi') | |
| echo creating "$doi" | |
| mkdir -p "$doi" | |
| echo $entry > "$doi/data.json" | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment