from pybliometrics.scopus import CitationOverview
co = CitationOverview("2-s2.0-85068268027", start=2019, end=2021)
print(co)
co_self = CitationOverview("2-s2.0-85068268027", start=2019, end=2021, citation="exclude-self", refresh=True)
print(co_self)
and this leads to:
%Run test_getcites.py
Document 'pybliometrics: Scriptable bibliometrics using a Python interface to Scopus' by Rose M.E., Rose M.E. and Kitchin J.R.
published in 'SoftwareX' has the following citation trajectory as of 2021-03-12:
Before 2019 0; 2019: 0; 2020: 6; 2021: 1; After 2021: 0 times
Traceback (most recent call last):
File "C:\Dropbox\SCenter\Scopus API\test_getcites.py", line 4, in
co_self = CitationOverview("2-s2.0-85068268027", start=2019, end=2021, citation="exclude-self", refresh=True)
TypeError: init() got an unexpected keyword argument 'citation'
Hello, don't know whether this is a bug or something's wrong with my setup (I'm not a python expert), but:
I copied code lines from example https://pybliometrics.readthedocs.io/en/stable/examples/CitationOverview.html :
from pybliometrics.scopus import CitationOverview co = CitationOverview("2-s2.0-85068268027", start=2019, end=2021) print(co) co_self = CitationOverview("2-s2.0-85068268027", start=2019, end=2021, citation="exclude-self", refresh=True) print(co_self)
and this leads to: