This is a simple extension for ASReview that can be used to export notes from the ASReview GUI while exporting the labeled or partially labeled dataset as .csv file.
ASReview notes-export can be installed from PyPI:
pip install asreview-notes-export
After installation, check if the asreview-notes-export
package is listed as an
extension. Use the following command:
asreview --help
It should list the notes_export
subcommand.
To export all the records from the dataset with the current state of labels and notes, we can use the following command:
asreview notes_export YOUR_ASREVIEW_FILE.asreview
To export only the records with notes from the dataset, we can use the following command:
asreview notes_export --only-with-notes YOUR_ASREVIEW_FILE.asreview
To include the labeling order in the exported dataset, use following optional argument:
asreview notes_export --labeling-order YOUR_ASREVIEW_FILE.asreview
By default, the filename of the output .csv is the same as the name of .asreview file. To save the output to .csv file with a custom filename, we can use the following command. We can either specify the extension:
asreview notes_export --only-with-notes YOUR_ASREVIEW_FILE.asreview -o YOUR_OUTPUT_FILENAME.csv
or only the filename will suffice, without an extension, using the following command:
asreview notes_export --only-with-notes YOUR_ASREVIEW_FILE.asreview -o YOUR_OUTPUT_FILENAME
Note that currently only .csv output is supported.
The extension is published under the Apache 2.0 license.
This is an unofficial extension of ASReview and is developed and maintained by Rohit Garud.