asreview / asreview-insights

Tools such as plots and metrics to analyze (simulated) reviews for ASReview LAB
https://www.asreview.ai
Apache License 2.0
28 stars 13 forks source link

Update plotting entrypoint with folder support #58

Closed jteijema closed 7 months ago

PeterLombaers commented 1 year ago

Just to make clear what your intention is: You would like to be able to pass either a directory or a list of file paths to the asreview_files argument. And in case of a directory, it should plot all the .asreview files in that directory. It should not recursively go into subdirectories looking for .asreview files?

PeterLombaers commented 1 year ago

In #59 you moved the part that produces a list of files from the input to a separate function _get_files. That seems nicer.