Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Warning

This page is still under construction.

Info
titleKey Considerations
  • Numeric answers are used when a respondent must provide a number to answer to a question.
  • They are either an Integer or Float numeric type. Integers are whole numbers only. Floats allow a decimal place.
  • For most numeric responses a generic answer labelled ‘How many’ is used.
  • Formats, minimums and maximums matter so ‘Number (Integer, Min: 0, Max: 10)’ is not the same as either ‘Number (Float, Min: 0, Max: 10)’ or ‘Number (Integer, Min: 0, Max: 20)’.

...

Numeric answers are used when the response to a question is a number. A numeric answer consists of a Label, Type, Numeric type and Min (Minimum) and Max (Maximum) values.

Archivist Build / Response Domain (Numeric Answer):

The numeric type is entered as either 'Integer' or 'Float'. Which type is chosen depends on the format of the response in the questionnaire. The numeric type ‘Float’ is used only if the response in the question contains a decimal point or requires a fraction (see examples). Min and Max values are always entered as whole numbers, regardless of the values indicated in the questionnaire.

For most numeric responses a generic answer labelled ‘How many’ is used, with a Numeric type of Integer and a Min value of 0 with the Max value left blank.

Archivist Build / Response Domain (How many):

If an Integer and a Float numeric type answer are needed for the same numeric response in a questionnaire, separate response domains are made for each numeric type, adding ‘I’ for integer and ‘F’ for float to the label. In the example below, the questionnaire contains questions with a ‘How many’ response with and without a decimal point.

Questionnaire: SWS Initial Questionnaire

...

Questionnaire layout:

 

The ‘How many’ response to question 7.4b contains a decimal point, while the response to 8.4 does not. Two ‘How many’ numeric answers are created, one with a numeric type of Integer and one with a numeric type of Float.

Archivist Build / Response Domain:

How many Integer answer
How many Float answer

...

Archivist view (sws_1_bio):

Numeric answers with specific labels

...

Quantities which have a precise unit of measurement are entered as specifically labelled numeric answers. Tablespoons, teaspoons, fluid ounces (fl.ozs), centilitres (cls), millilitres (mls), and grams are examples of quantity responses that are entered as labelled numeric answers. Responses asking average amount per serving, no of cups/mugs of tea/coffee (see example), glasses, spoons, slices, scoops, bananas, eggs, etc., where the serving size is variable (see example), are not entered as specifically labelled numeric answers. ‘How many’ is used as the answer for these types of quantities.

 

Common quantity answers:

Label

Type

Numeric type

Min

Max

Used for question text response

Tablespoons

Numeric

Integer or Float

0

Blank

Quantity response expressed in number of tablespoons. Commonly found in Food Diary questions. See example.

Teaspoons

Numeric

Integer or Float

0

Blank

Quantity response expressed in number of teaspoons. Commonly found in Food Diary questions.

Fluid ounces

Numeric

Integer or Float

0

Blank

Quantity response measuring size of container, i.e., cup, mug or amount of liquid. See example.

Millilitres

Numeric

Integer

0

Blank

Quantity response measuring size of container, i.e., cup, mug or amount of liquid. See example. 

Grams

Numeric

Integer or Float

0

Blank

Quantity response expressed as weight in grams. The same numeric answer may also be used as a physical measurement answer.

Ounces

Numeric

Integer or Float

0

Blank

Quantity response expressed in ounces (weight or fluid). The same numeric answer can also be used as a physical measurement answer for weight in ounces only. See example.

...

Anchor
MinMax
MinMax
Numeric responses with Min and/or Max values defined in question

...

Note: Unlike text answers, the restriction must be written in words in the question or response text. A particular number of blank boxes for writing in a numeric response is not treated as defining a maximum value. 

Common answers with defined min/max values:

Label

Type

Numeric type

Min

Max

Used for question text response

Hours in day

Numeric

Integer

0

24

How many hours per day event occurred. See example.

Hours in week

Numeric

Integer

0

168

How many hours per week event occurred. See example.

Days in month

Numeric

Integer

0

31

How many days in a month event occurred. See example. 

Days in [X] days

Numeric

Integer

0

[X]

Question asks how many days in a defined number of days event has happened. Min value always 0, Max value is the defined number of days contained in question, i.e. for ‘How many days in the last 90?’ answer max would be 90. See example.  

Months in year

Numeric

Integer

1

12

How many months in a year event occurred. See example .

Floor

Numeric

Integer

Varies

Blank

Question asks lowest level of living accommodation, with the floor to be specified above a certain level. See examples.

Percentage

Numeric

Integer

0

100

Question asks for a percentage response. See example.

[Activity]

Numeric

Integer

0

[X]

Question asks how many times an activity (i.e. catching a ball) is performed in a specific number of attempts. Label for numeric answer is activity performed. Max is total attempts at activity. See examples.

[Time period]

Numeric

Integer

0

[X]

Question asks how many times an activity (i.e. picking up matches) is performed over a specific time period. Label for numeric answer  is time  period (i.e. seconds). Max is total time period recorded for activity. See example.

...

Date responses that ask only for the day in a month, or the month in a year, something occurred/will occur cannot be input as a date answer. A specifically defined numeric answer is used. 

Label

Type

Numeric type

Min

Max

Used for question text response

Month of year

Numeric

Integer

1

12

Month of a year event occurred/will occur. See example.

Day of month

Numeric

Integer

1

31

Day of a month event occurred/will occur.

...