RegenCHOICE → [[ch:qs:|question structuring]] ====== Range metric question structure ====== Some questions are best dealt with in a numerical way, rather than as a limited number of options. Some obvious examples are suggested below: typically questions involving space, time, money. For these kinds of questions, a personal answer will probably be a single number, and of course that can change over time. For the question, absolute maximum and minimum need to be defined, as well as the unit of measurement and granularity. For answers, this may be presented as a text field, with value checking so that invalid answers are not accepted, or alternatively (less likely) as a drop-down menu with appropriate values. For requirements, this will be presented as two text fields, from and to, also value checked. ===== Examples ===== Anything that is usually answered with a number or single numeric format. These are very rough examples and could be improved on. * "What is your height?" * "What is your weight?" * "What is your year of birth?" * "How old were you when you first ...?" * "What is your IQ?" * "What is your net worth?" * "What is the size (floor area) of your flat?" * "How many pets do you have?" * "How long have you doing your current job?" ===== Data structure ===== Other [[ch:fields:QDetails]] for this structure are: * [[ch:fields:QSUnit]] mandatory unit of measurement * [[ch:fields:QSMax]] mandatory lowest possible value in that unit * [[ch:fields:QSMin]] mandatory highest possible value in that unit * [[ch:fields:QSGran]] (optional) Granularity: value will be rounded to the nearest allowed value.\\ If this is not defined, it will default to 1 unit. ===== Commentary ===== “Where?” questions have answers that can be numeric but not in a single dimension. It would be a good idea to allow for the possibility of questions like this, by generalising location questions. ---- === see also === * Template for [[ch:cr:RANGQ]] criteria. * For some spec details, see [[https://www.simongrant.org/RegenCHOICE/question-struct/RANGQ.html|the HTML site]] === backlinks === {{backlinks>.}}