Evaluations csv
naymesalas opened this issue · comments
Change the interface (for users with admin rights only) for the "Administrar evaluaciones" option, as follows:
- Each csv file should only contain the evaluations by a single evaluator
- All csv files should have 1426 lines + heading line (total = 1427 lines). The first column should be labelled "ID" and contain the subjects IDs
- Create an interface such that the admin can choose to download multiple csv files for different evaluators
IMPORTANT: this configuration should apply for both QUALITY and STRUCTURE assessment
Consider whether having different submenus for "Administrar avaluacions qualitat" and "Administrar avaluacions estructura"
##Goal
Create a new interface called DASHBOARD, which will allow users with ADMIN access to download evaluations.
##Dashboard features
The dashboard should include:
1- a selection of the type of evaluation that the admin wants to download: Quality or Structure
2- a selection of the text genre (called "Genre"): opinion or narrative
3- a selection of the data collection time point (called "Timepoint"): PRE, POST, MANT, SEG1, SEG2
4- a selection of the evaluation number (called "Evaluation", because all evaluations on a given text can be ordered chronologically, the first one that has been done should evaluation 1, the second one, evaluation 2, and so on: insert a number between 1 and 6.
Once all fields have been filled, a button that says "DOWNLOAD" should be "on" and, when clicked on, should download the requested file (preferably in .xls format, but .csv is fine as well).
Important rules
- All fields are obligatory
- All fields allow only a single option to be chosen (e.g., one cannot choose PRE and POST evaluations at the same time.
- All files must contain (1) a first linea wirh the the headers; specified below), a column with all 1426 subject IDs.
##Characteristics of csv files
The resulting .csv (or .xls) files should include the following columns:
- File ID (the name of the .txt file that was evaluated)
- ID (the subject's ID, REGARDLESS of whether the corresponding .txt file exists and/or has been evaluated)
- Genre (the text genre: OP or NA)
- Timepoint (the data collection timepoint: PRE, POST, MANT, SEG1, SEG2)
- Evaluator: the email address of name and surname of the evaluator who performed the evaluation
- Score: the actual TQ score (0-5). For Structure evaluations, note that "score" will actually be a series of columns with all the items in the Structure evaluation form