CLOSER-Cohorts / archivist

Archivist is designed to be an easy to use editor that allows documention of questionnaires and data in DDI-Lifecycle
MIT License
17 stars 8 forks source link

Updates to all_mapping.tsv #854

Open HayleyMills opened 1 month ago

HayleyMills commented 1 month ago

1) Is it possible that the inherited topics from variables are also included in the all_mappings output? e.g. qc_16$0;0 mapped to HLTHYR which has a topic of 10323, so qc_16$0;0 should show a topic of 10323 See attached file.

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

Question name | Question text | Question Topic ID | Variable name | Variable Topic ID | Variable Label -- | -- | -- | -- | -- | -- qc_16$0;0 | Over the last 12 months would you say your health has been? |   | HLTHYR | 10323 | Q16 State of health in the last year (S1)

2) Can we remove blank rows? See attached file.

3) Related to 1) Is it possible that the grid question output shows the inherited topic applied to all grid cells in the output? A question grid can only have one topic linked to it (see tq which has only one topic for each grid https://closer-archivist.herokuapp.com/instruments/1537/tq.txt?token=eyJhbGciOiJIUzI1NiJ9.eyJpZCI6MywiYXBpX2tleSI6IjY0YzNlN2U1MmVmZTYyYmMyMjM0In0.LeccWxLW8xJ68Ie94nTJZAU6HZf5gffFEvgrOuhd6j0) , but in the all_mappings output the grid cells are given and some of the question cells in the grid show they are not mapped to a topic and the overall grid reference e.g. qc_37_a-d$0;0 is also not mapped. This makes it look like there are some questions which are not mapped, when this is not the case. e.g. <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40">

qc_37_a-d$0;0 | If you are still having periods do you suffer from any premenstrual symptoms? |   |   |   |   -- | -- | -- | -- | -- | -- qc_37_a-d$1;1 | If you are still having periods do you suffer from any premenstrual symptoms? Irritability |   | SYMIRRIT | 10316 | Q37a Suffer premenstrual irritability (S1) qc_37_a-d$1;2 | If you are still having periods do you suffer from any premenstrual symptoms? Swelling or weight gain (Bloated feeling) |   | SYMBLOAT | 10316 | Q37b Suffer premenstrual swelling (S1) qc_37_a-d$1;3 | If you are still having periods do you suffer from any premenstrual symptoms? Breast tenderness |   | SYMBRST | 10316 | Q37c Suffer premenstrual breast tenderness (S1) qc_37_a-d$1;4 | If you are still having periods do you suffer from any premenstrual symptoms? Other |   |   |   |  

4) Can the file include all the variables even if they haven't been mapped? e.g. CPCONFJ3 is not in the file.

5) Can the file include all the questions even if they haven't been mapped? e.g. qc_19_r

6) Can the output file also include the questionnaire prefix and the dataset prefix?

7) Can we change the order to;
Dataset prefix, Variable Name, Variable Label, Variable Topic ID, Questionnaire prefix, Question Name, Question Text, Question Topic ID

Attached as .txt whii_85_hs1_all_mappings.txt