rohitgarud / asreview-notes-export Goto Github PK
View Code? Open in Web Editor NEWExtension for ASReview Lab for exporting notes from GUI to dataset csv file
License: Apache License 2.0
Extension for ASReview Lab for exporting notes from GUI to dataset csv file
License: Apache License 2.0
It could be helpful to add an option to export the results to a custom filename using - o
.
This is a great contribution to the ASReview universe and highly wanted by users, see the discussion at asreview/asreview#1220.
When I ran the extension I ran into an issue. To reproduce:
I initiated a project in ASReview, added one note, and exported the project: example-ptsd.zip (The file I used is attached (it needs to be unzipped first).)
When running
asreview notes_export example-ptsd.asreview
I obtained the following warning:
Traceback (most recent call last):
File "C:\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Python310\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\Python310\Scripts\asreview.exe\__main__.py", line 7, in <module>
File "C:\Python310\lib\site-packages\asreview\__main__.py", line 78, in main
entry.load()().execute(sys.argv[2:])
File "C:\Python310\lib\site-packages\asreviewcontrib\notes_export\entrypoint.py", line 42, in execute
export_notes(
File "C:\Python310\lib\site-packages\asreviewcontrib\notes_export\notes_export.py", line 39, in export_notes
dataset_with_results = dataset.df.join(df.set_index('record_id')[['labeling_order','label','notes']])
File "C:\Python310\lib\site-packages\pandas\core\frame.py", line 9254, in join
return self._join_compat(
File "C:\Python310\lib\site-packages\pandas\core\frame.py", line 9285, in _join_compat
return merge(
File "C:\Python310\lib\site-packages\pandas\core\reshape\merge.py", line 122, in merge
return op.get_result()
File "C:\Python310\lib\site-packages\pandas\core\reshape\merge.py", line 718, in get_result
llabels, rlabels = _items_overlap_with_suffix(
File "C:\Python310\lib\site-packages\pandas\core\reshape\merge.py", line 2313, in _items_overlap_with_suffix
raise ValueError(f"columns overlap but no suffix specified: {to_rename}")
Add tests that will run automatically using Git flow everytime when code is pushed to the main branch
I had some problems using the notes, when specifying -o as a .csv file
however, without specifying the file extension, it works:
Microsoft Windows [Version 10.0.19042.2486]
(c) Microsoft Corporation. All rights reserved.
C:\Users\josien.boetje\OneDrive - Stichting Hogeschool Utrecht\PhD\Study 1 - Systematic Literature Review\d2_Results>asreview notes_export ScreeningRound4_Forward-citation-search.asreview
C:\Users\josien.boetje\OneDrive - Stichting Hogeschool Utrecht\PhD\Study 1 - Systematic Literature Review\d2_Results>asreview notes_export ScreeningRound2.asreview
C:\Users\josien.boetje\OneDrive - Stichting Hogeschool Utrecht\PhD\Study 1 - Systematic Literature Review\d2_Results>
pip install asreview-notes-export
leads to the following error message:
ERROR: Could not find a version that satisfies the requirement asreview-notes-export (from versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6)
ERROR: No matching distribution found for asreview-notes-export
Using ASReview Version 1.1.1. on macOS Ventura 13.1
The extension looks very promising, would love to try it out!
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.