mjwestgate / revtools

Tools to support research synthesis in R
https://revtools.net
51 stars 26 forks source link

Implementation of group exclusion #17

Open Joemillard opened 6 years ago

Joemillard commented 6 years ago

It would be great to have an implementation of group exclusion i.e. box or lasso select a group of unrelated articles, and then an option to exclude all selected articles. The drawback I suppose is the volume of text displayed on the interface and the potential for users to unintentionally group select many articles. I suppose a solution could be a group select limit of 10 articles or so? The user then gets a pretty significant increase in exclusion rate without the potential for crashing.

mjwestgate commented 6 years ago

I hadn't thought of this! Apparently it is possible using JS, but I don't know if it can be done in R yet. If it can be done, there is a question about how to choose between selecting an area to zoom vs selecting a set of points, though that is a secondary concern.

I'll see what I can find, and if it looks promising, I'll open a new branch to test it. Either way won't be in the next release, as it will need some testing and I'm already behind schedule :)

Joemillard commented 6 years ago

I've not tried it out yet and you may have come across it (apologies if you have!), but potentially extendShinyjs could help - basically a function in shinyjs that'll let you write js in Shiny. Hmm yes I hadn't thought of that - I suppose to some extent removing an article taking up a large proportion of ordination and then recalculating is a form of zoom, but probably that won't be sufficient for users with many closely related articles.

Anyways no rush, and thanks for a great tool!