vitorfs / parsifal

Parsifal is a tool to assist researchers to perform Systematic Literature Reviews
https://parsif.al
MIT License
415 stars 172 forks source link

Order articles by score #44

Open jachinte opened 6 years ago

jachinte commented 6 years ago

Hi,

It would be very useful to be able to order the list of articles by score, especially during quality assessment and data extraction. That way, one start by reviewing the most important articles, and can even ignore them after certain limit if there are too many articles and little time.

jachinte commented 6 years ago

I've been using this code in the console, in case anyone finds it useful:

Descending order:

$('.quality-assessment').append($('.panel-quality-assessment')
    .sort(function(a, b) {
        return $(b).find('.score').text() - $(a).find('.score').text();
    }));

Ascending order:

$('.quality-assessment').append($('.panel-quality-assessment')
    .sort(function(a, b) {
        return $(a).find('.score').text() - $(b).find('.score').text();
    }));
vitorfs commented 6 years ago

Hey @jachinte I will make it available soon!

jachinte commented 6 years ago

Awesome, thanks @vitorfs!