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

Sorting column #3

Open
ardydavari opened this issue Jan 11, 2021 · 4 comments
Open

Sorting column #3

ardydavari opened this issue Jan 11, 2021 · 4 comments

Comments

@ardydavari
Copy link

Hi,

I was wondering if there is a way to sort references by number of citations in zotero?

Thank you for your plugin!

@eschnett
Copy link
Owner

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?

@ardydavari
Copy link
Author

The data that the plugin populates is in the extra column:

Here's an example:
image

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?

@airallergy
Copy link

The scite plugin adds extra columns to Zotero, which can facilitate sorting by citations.

@tylerbhampton
Copy link

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants