Aller au contenu

Parameters

Parameter flow

Updating this documentation

Instead of reproducing the original WT graph, we should probably document what is done at Insee (see second paragraph).

The parameter flow principle especially in the case of filtering, conditional text (question, instruction or categories), derived variables or computation items is described in annex to the DDI 3.2 specification. It is recommended to track the parameter value at each step of the DDI questionnaire flow. An illustration provided by Wendy Thomas is given below.

graph TD

Q1(Question 1 - What is the name of your oldest child?)
Q2(Question 2)
R1[Response 1]
R2[Response 2]

subgraph Sequence 1
    subgraph Question Construct 1
        Q1 --- R1
    end

    subgraph Question Construct 2
        Q2
    end


end

The path followed by the parameter values is as follows: QI1 -> RD -> QC1 -> SEQ -> QC2 → QI2, if the assumption is made that the QuestionConstruct and the IfThenElse are nested in a mutual Sequence (otherwise an extra element layer should be added: and /). Insee has adopted a simplified version of it which links directly the parameters from the response domains to the question objects that take these parameters as inputs, e.g: QI1 -> RD1 -> QI2.