zotero-citationcounts
zotero-citationcounts copied to clipboard
Sorting column
Hi,
I was wondering if there is a way to sort references by number of citations in zotero?
Thank you for your plugin!
Oh, that would be a good idea!
I don't know. I don't know how sorting in Zotero works. If you have a pointer to another plugin that affects sorting – could you post it here?
The data that the plugin populates is in the extra column:
Here's an example:
The issue is that it can't really sort since it contains data of this format: 00000 Place: England PMID: 33420488 Citations (Crossref): 1 [2021-01-11]
Perhaps if a separate key-value pair "crossref citations" : integer, would work?
The scite plugin adds extra columns to Zotero, which can facilitate sorting by citations.
@eschnett the tool is working great! I want to re-up the comment about sorting. Past iterations of citation add-ons to Zotero have added leading zeros, making citation counts uniformly six digits, so that way for example, 1000 is sorted as greater than 400, rather than the leading 4 sorting as greater than the leading 1. The two numbers would just need leading zeros such that they display as 001000 and 000400. Is this do-able? Could use code to count the number of digits (N) and add leading zeros as 6 minus N.