If the highly-cited publication is fetched from an author's profile, then scholarly will look at the annual citation histogram and adapt the year ranges to fetch as many citations as possible without exceeding 1000. This will minimize the number of queries, especially if there are years with very few citations.
Checklist
[x] Check that the base branch is set to develop and notmain.
[x] Ensure that the documentation will be consistent with the code upon merging.
[x] Add a line or a few lines that check the new features added.
[x] Ensure that unit tests pass.
If you don't have a premium proxy, some of the tests will be skipped.
The tests that are run should pass without raising
MaxTriesExceededException or other exceptions.
Fixes #444.
Description
If the highly-cited publication is fetched from an author's profile, then
scholarly
will look at the annual citation histogram and adapt the year ranges to fetch as many citations as possible without exceeding 1000. This will minimize the number of queries, especially if there are years with very few citations.Checklist
develop
and notmain
.MaxTriesExceededException
or other exceptions.