You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we could use the scholary and crossrefapi libraries to count citations of DOIs we have in our database. Assume DOIs are stored among urls in a yml file. Examples taken from this yml file:
resources:
- authors:
- Katarzyna Biernacka
name: Efficiently starting
url:
- https://zenodo.org/record/3490058
- https://doi.org/10.5281/zenodo.3490058
- authors:
- Rebecca A. Senft
name: "A biologist"
url: https://doi.org/10.1371/journal.pbio.3002167
I would like to write a new Python script similar to scripts/auto-add-github-statistics.py . The new script goes through all entries in our yml file. For those that have a DOI link among their urls, I'd like to collect the number of citations and store them in a new "doi_statistics/20241202.csv" where the filename is the current date when the script is executed.
git-bob think about how to do this.
Hint: Do NOT modify any yml or csv directly. Write code that reads the yml file and writes the csv file.
Do NOT modify files in the resources directory!
The text was updated successfully, but these errors were encountered:
we could use the scholary and crossrefapi libraries to count citations of DOIs we have in our database. Assume DOIs are stored among urls in a yml file. Examples taken from this yml file:
I would like to write a new Python script similar to scripts/auto-add-github-statistics.py . The new script goes through all entries in our yml file. For those that have a DOI link among their urls, I'd like to collect the number of citations and store them in a new "doi_statistics/20241202.csv" where the filename is the current date when the script is executed.
git-bob think about how to do this.
Hint: Do NOT modify any yml or csv directly. Write code that reads the yml file and writes the csv file.
Do NOT modify files in the resources directory!
The text was updated successfully, but these errors were encountered: