Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding support for self-referencing #59

Merged
merged 5 commits into from
Nov 24, 2024
Merged

Adding support for self-referencing #59

merged 5 commits into from
Nov 24, 2024

Conversation

jannisborn
Copy link
Owner

@jannisborn jannisborn commented Nov 23, 2024

First step toward #58

  • paperscraper.citations.self_references allows to pass one or multiple DOIs and returns the author names and their self-citations. These are absolute counts per default, but setting relative=True returns percentages
  • this can run asychronously
  • changing default logger level from debug to info

@jannisborn jannisborn added the enhancement New feature or request label Nov 23, 2024
Copy link

codecov bot commented Nov 23, 2024

Codecov Report

Attention: Patch coverage is 96.26866% with 5 lines in your changes missing coverage. Please review.

Project coverage is 91.66%. Comparing base (0afbada) to head (cdbfcbe).
Report is 1 commits behind head on citations.

Files with missing lines Patch % Lines
paperscraper/citations/core.py 90.19% 5 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##           citations      #59      +/-   ##
=============================================
- Coverage      93.79%   91.66%   -2.13%     
=============================================
  Files             28       32       +4     
  Lines            967     1092     +125     
=============================================
+ Hits             907     1001      +94     
- Misses            60       91      +31     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@jannisborn jannisborn merged commit 7670c44 into citations Nov 24, 2024
8 checks passed
@jannisborn jannisborn deleted the selfref branch November 24, 2024 06:53
jannisborn added a commit that referenced this pull request Nov 26, 2024
* refactor: change default logging level

* feat: tested version of self_references

* chore

* feat: Support and test asynchronous calls

* chore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant