rohitgarud / asreview-notes-export

Extension for ASReview Lab for exporting notes from GUI to dataset csv file
Apache License 2.0
4 stars 1 forks source link

Export problems #5

Open j0sien opened 1 year ago

j0sien commented 1 year ago

I had some problems using the notes, when specifying -o as a .csv file however, without specifying the file extension, it works: image 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>

j0sien commented 1 year ago

However, there is a problem in the output file. new inclusions are labeled as 10 instead of 1

<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40">

included.1 | labeling_order_1 | Included_1 -- | -- | -- 10 | 0 | 10 10 | 10 | 10 10 | 20 | 10 10 | 30 | 10 10 | 40 | 10 10 | 50 | 10 10 | 60 | 10 10 | 70 | 10 10 | 80 | 10 10 | 90 | 10 10 | 100 | 10 10 | 110 | 10 0 | 1240 | 0 0 | 1250 | 0 0 | 1260 | 0 0 | 1270 | 0 0 | 13520 | 0 0 | 13530 | 0 0 | 13540 | 0 0 | 13550 | 0 -10 |   |   -10 |   |   -10 | 14740 | 0 -10 |   |   -10 |   |   -10 | 15520 | 0 -10 |   |   -10 |   |   -10 | 15600 | 0 -10 |   |   -10 |   |  

j0sien commented 1 year ago

and there is a double inclusion line

rohitgarud commented 1 year ago

Thank you for your feedback.. let me look into it.. @j0sien May I know:

  1. How you are going from one screening round to another?
  2. Are you exporting review files at each round or creating new projects? Or are you importing the dataset as csv?
  3. Are the number of records at the end of each screening round different? Because the extension works on the assumption that the number of records remains the same as the notes are matched with records using record_id

Please let me know.

rohitgarud commented 1 year ago

and there is a double inclusion line

We need to discuss your process of using ASReview @j0sien so that I can make corresponding changes to the extension code. Because I had written the code with the assumption that the notes are exported once at the end of the screening process. I made changes to the code to accommodate the already existing exported_notes and other columns, but I think it is causing some issues. When I tested it on my side, it worked fine with the existing columns. Please provide some additional information mentioned above so that I can make changes to the extension to cater to your requirements. Thank you.

rohitgarud commented 1 year ago

I had some problems using the notes, when specifying -o as a .csv file

Can you please mention the error you received while exporting to the specified CSV file? @j0sien