Versions Compared

Key

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

...

Info
titleKey Considerations
  • Numeric answers are spaces for respondents to use used when a respondent must provide a number to provide an answer to a questionnaire question.They can be
  • Where a numeric answer requires a unit or other qualifying information, it should be added as a text answer. For example, ‘Give your height in centimeters’ is a number, whereas ‘Give your height’ is a text answer as the unit needs to be specified in the answer.
  • 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’ can be 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):

Image Modified

The numeric type is entered as either 'IntergerInteger' or 'Float'. Which type to choose 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):

Image Modified

If an integer Integer and a float Float numeric type answer are needed for the same numeric response in a questionnaire, separate answers 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:

Image Modified

Image Modified

 

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
Image Modified
Image Modified

 

Archivist view:

Image Removed

Image RemovedArchivist view (sws_1_bio):

Image Added 

Image Added 

Numeric answers with specific labels

 There are several types of numeric answers which are specifically labelled:

Note: Specifically labelled answers are not created for distance (i.e. miles), single unit time responses with no defined min or max in the documentation (i.e. hours only, minutes only - entered as a How many answer), and measurements without a defined length or size (i.e. days, nights, slices, cups, mugs, etc.). These are all entered as a 'How many' response domain.

Anchor
Age-related
Age-related
Age-related numeric answers

 Answers to ‘How old’ questions are entered as follows:

Label

Type

Numeric type

Min

Max

Usage

Age

Numeric

Integer

0

Blank

How old in years only or year component of question asking age in years and months.

See 

See example.    

Age in months

Numeric

Integer

0

Blank

How old with

response

response in months only or month component of question asking age in months

only

and weeks. Commonly seen in questionnaires for birth and pre-school life stages asking how old baby is with response expressed in

only

months rather than years.

 See 

 See example.

Months

Numeric

Integer

0

11

How old with response in years and months. Answer is

multiple

compound response with ‘Age’

for years component and ‘Months’ for months component of question. See example.

for years response domain and ‘Months’ for months response domain. See example.

WeeksNumericInteger04

How old with response in months and weeks. Answer is compound response with 'Age in months' for months response domain and 'Weeks' for weeks response domain

Anchor
Physical measurement
Physical measurement
Measurements

 Physical measurement responses with a defined length or size are input as labelled numeric answers regardless of whether the question response contains a single measurement (inches, cm, mm, kilos) or a compound measurement (… lbs … oz; … stones … lbs; … ft … in). The answer label for the measurement unit should be fully spelled out regardless of how it is written in the questionnaire.

When the answer is the second measurement in a compound response, the label is entered as ‘[X] in [Y]’, where [X] is the second part of the measurement and [Y] is first part. So for a response ‘… lbs … oz’ the label for the ‘oz’ numeric answer is ‘Ounces in pound’, with a Min of 0 and Max of 15 (for an integer response) or 16 (for a float response). For the response ‘… stones … lbs’ the label for the ‘lbs’ numeric answer is ‘Pounds in stone’, with a Min of 0 and Max of 13 (for an integer response) or 14 (for a float response).

Responses for medical measurements, e.g. blood pressure, peak expiratory flow rate, etc., are labelled using the unit of measure recorded for the medical check, not the procedure itself. The numeric response for blood pressure is labelled Millimetres and does not need to be distinguised distinguished from Millimetres used as a physical measurement. The label for peak expiratory flow rate, used to assess lung capacity, is Litres per minute.

Temperature, whether of a person or a room, is input as a numeric answer only if the question specifies whether the response is in Celsius or Fahrenheit. The numeric response is labelled either Celsius or Fahrenheit depending on the unit indicated in the question. If a question regarding temperature does not specify a unit of measurement, the answer is input as a text response labelled Temperature. See discussion of insufficiently defined numeric responses in Text answers section.

Common measurement answers:

Label

Type

Numeric type

Min

Max

Used for question text response

Feet

Numeric

Integer or Float

0

Blank

Measurement response in feet only. Also used as feet component of question asking height

measurement in feet and inches

measurement in feet and inches. See example  .

Inches

Numeric

Integer or Float

0

Blank

Measurement response in inches only. See example.

Inches

Metres

Numeric

Integer or

Float

float

0

Blank

Measurement response in

inches

metres only.

See example.

 

Centimetres

Numeric

Integer or Float

0

Blank

Measurement response in centimetres only. See Integer example and Float example.

Millimetres

Numeric

Integer or Float

0

Blank

Measurement response in millimetres only. See Integer example and Float example of physical measurement. Also used for as answer in questions recording blood pressure.

Pounds

Numeric

Integer or Float

0

Blank

Measurement response in pounds only. Also used as pound component of question asking weight measurement in pounds and ounces. See Pounds only example and Pounds/Ounces example.  

Stones

Numeric

Integer

0

Blank

Measurement response in stones only. Also used as stones component of question asking weight measurement in stones and pounds. See example.

Kilograms

Numeric

Integer or Float

0

Blank

Measurement response in kilograms only. Also used as kilogram component of question

asking weight measurement in kilograms and grams. See Integer example and Float example.Grams

asking weight measurement in kilograms and grams. See Integer example and Float example.

Grams

Numeric

Integer or Float

0

Blank

Measurement response in grams only. The same numeric answer may also be used as a quantity answer. See example.

Ounces

Numeric

Integer or Float

0

Blank

Measurement response in

grams

ounces only. The same numeric answer may also be used as a quantity measurement answer for volume in ounces only.

Inches in foot

Numeric

Integer

0

11

Inches component of height measurement in feet and inches. Response is whole number. See example.  

Ounces

Inches in foot

Numeric

Integer or Inches in foot

Float

0

Blank

Measurement response in ounces only. The same numeric answer may also be used as a quantity measurement answer for volume in ounces only.

12

Inches component of height measurement in feet and inches. Response contains decimal point or a fraction. See example.

Ounces in pound

Numeric

Integer

0

11

15

Inches

Ounces component of

height

weight measurement in

feet

pounds and

inches

ounces. Response is whole number

. See example

.

Inches

Ounces in

foot

pound

Numeric

Float

0

12

16

Inches

Ounces component of

height

weight measurement in

feet

pounds and

inches

ounces. Response contains decimal point or a fraction. See example.  

Ounces

Pounds in

pound

stone

Numeric

Integer

0

15

13

Ounces

Pounds component of weight measurement in stones and pounds

and ounces

. Response is whole number. See example.

Ounces

Pounds  in

pound

stone

Numeric

Float

0

16

14

Ounces

Pounds component of weight measurement in stones and pounds

and ounces

. Response contains decimal point or a fraction

. See example

.

Pounds

Grams in

stone

Kilogram

Numeric

Integer

0

13

999

Pounds

Grams component of weight measurement in

stones

kilograms and

pounds

grams. Response is whole number

. See example

.

Pounds 

Grams in

stone

Kilogram

Numeric

Float

0

14

1000

Pounds

Grams component of weight measurement in

stones

kilograms and

pounds

grams. Response contains decimal point

or a fraction.Grams in KilogramGrams in Kilogram

.

Litres per minuteNumericInteger0BlankMeasurement of peak expiratory flow rate (lung capacity).
CelsiusNumericInteger or Float0

999

Grams component of weight measurement in kilograms and grams. Response is whole number.

Litres per minuteNumericInteger
BlankTemperature measurement is specified as Celsius.
FahrenheitNumericInteger or Float0

1000

Grams component of weight measurement in kilograms and grams. Response contains decimal point.

BlankTemperature measurement is specified as Fahrenheit.
FEVNumeric Integer or Float0Blank
Measurement of peak expiratory flow rate (lung capacity).Celsius
Respiratory measurement is specified as FEV.
PEFRNumeric
Integer
 Integer or Float0Blank
Temperature
Respiratory measurement is specified as
Celsius
PEFR.
Fahrenheit
FVCNumericInteger or Float0Blank
Temperature
Respiratory measurement is specified as
Fahrenheit
FVC.

Anchor
Quant
Quant
Quantities

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 

See example  .

Millilitres

Numeric

Integer

0

Blank

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

See 

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.

...

. See example  .

PintsNumericInteger or Float0BlankQuantity response expressed in pints. See example.

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

 Most of the time when a question asks ‘How many of [X]’ there is no restriction within the question as to what the numeric response to the question might be. However, some questions contain defined minimum or maximum values in the question text. A specifically labelled numeric answer is created when a question restricts the numeric answer that may be given in response to the 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

Minutes in dayNumericInteger01440How many minutes per day event occurred.

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 

See example.

Hours

Days in

week

month

Numeric

Integer

0

168

31

How many

hours per week

days in a month event occurred.

See 

See example.

Days in

month

week

Numeric

Integer

0

31

7

How many days in a

month

week 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

xample 

.

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

100

[X]

Question asks

for a percentage response. See example.[Activity

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.

catching a ball

picking up matches) is performed

in

over a specific

number of attempts

time period. Label for numeric answer

is activity performed

 is time  period (i.e. seconds). Max is total

attempts at

time period recorded for activity. See

examples

example .

[Time period]
HoursNumericInteger
0
[X][X]Question asks how many
times an activity (i.e. picking up matches) is performed over a specific time period
hours an event occurred, with a defined min and/or max in the documentation. Label for
numeric
answer
 is time  period (i.e. seconds). Max is total time period recorded for activity
is Hours. See example. If there is no defined min or max, How many is used. 

Anchor
NumDate
NumDate
Date responses input as a numeric answer

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.

Anchor
NumDuration
NumDuration
Time period (duration) responses input as a

...

numeric answer

For a period of time response to be entered as a duration, it must meet the following criteria. The time period must be for a specific event, for a continuous period of time, and the period must be sufficiently described, so that the start and end of the event are discrete time points. Responses that do not meet these criteria for a duration answer are entered as numeric answers.

The Duration section of the date and time answers guidance provides a detailed discussion of the use of duration versus numeric answers. See also examples of time period responses that are entered as a duration answer and examples of time period responses that are entered as a numeric answer for more information.

Time period responses with only one time point (i.e. years only, hours only) are not sufficiently described to be entered as a duration answer and a ‘How many’ answer is entered (see example ). When a compound time period response is input as two numeric answers, the first element of the time period is entered as a ‘How many’ answer; the second element is entered entered as a specifically labelled answer (see example).