Closed Aariq closed 2 years ago
Oh yes! Forcats looks perfect for this. Thank you. I'll play around with it for different variables to figure out what we want.
I'll keep the issue open until this gets implemented, but yeah, there's a function for exactly this that could potentially be part of the wrangling. Would have to play around think about exactly how it would effect the plot and the user input section.
Related to this, would it be possible to automatically collapse nodes (into an "Other domains", "Other behaviors", etc) that don't meet a certain threshold of articles? Something like 5 articles per node or similar?
Originally posted by @mjospe in https://github.com/cct-datascience/biofeedback-vis/issues/25#issuecomment-1205783817
I think this is a job for the
forcats
package