This page is still under construction.
Key considerations
Numeric answers are spaces for respondents to use a number to provide an anaswer to a questionnaire question. They can be either an Integer or Float numeric type. Key considerations are:
- Integers are whole numbers only.
- Floats allow a decimal place.
- Many can be covered by a generic field such as ‘How many’ or ‘Age’.
- 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 'Interger' or 'Float'. Which type to choose 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 Min value of 0 and the Max value left blank. If there is no decimal point in the numeric response, then the numeric type ‘Integer’ should be used. Regardless of whether the numeric type is integer or float, both are labelled ‘How many’.
Archivist Build / Response Domain (How many):
The exception to this is if an integer and a float numeric type answer are needed for the same numeric response in the same questionnaire. In this case, separate answers 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: Initial Questionnaire (SWS) questions 7.4b and 8.4
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:
Numeric answers with specific labels
There are several types of numeric answers which are specifically labelled:
- Age-related numeric responses
- Physical measurements
- Quantities (generally food-related)
- Numeric responses with minimum and/or maximum values defined in the question text
- Time period responses that are not input as Time/Date Duration answers
Note: Specifically labelled answers are not created for distance (i.e. miles), single unit time responses (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.).
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 example |
Age in months | Numeric | Integer | 0 | Blank | How old with response in months only. Commonly seen in questionnaires for birth and pre-school life stages asking how old baby is with response expressed in only months. See example |
Months | Numeric | Integer | 0 | 11 | How old with response in years and months. Answer is multiple response with ‘Age’ for years component and ‘Months’ for months component of question. See example |
Physical measurements
Physical measurement responses (height, circumference and weight) 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 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).
Common physical 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. Example |
Inches | Numeric | Integer or Float | 0 | Blank | Measurement response in inches only. Example |
Centimetres | Numeric | Integer or Float | 0 | Blank | Measurement response in centimetres only. Integer example Float example |
Millimetres | Numeric | Integer or Float | 0 | Blank | Measurement response in millimetres only. Integer example Float example |
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. Pounds only example 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. 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. Integer example 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. Example |
Ounces | Numeric | Integer or 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. |
Inches in foot | Numeric | Integer | 0 | 11 | Inches component of height measurement in feet and inches. Response is whole number. Example |
Inches in foot | Numeric | Float | 0 | 12 | Inches component of height measurement in feet and inches. Response contains decimal point or a fraction. Example |
Ounces in pound | Numeric | Integer | 0 | 15 | Ounces component of weight measurement in pounds and ounces. Response is whole number. |
Ounces in pound | Numeric | Float | 0 | 16 | Ounces component of weight measurement in pounds and ounces. Response contains decimal point or a fraction. Example |
Pounds in stone | Numeric | Integer | 0 | 13 | Pounds component of weight measurement in stones and pounds. Response is whole number. Example |
Pounds in stone | Numeric | Float | 0 | 14 | Pounds component of weight measurement in stones and pounds. Response contains decimal point or a fraction. |
Grams in Kilogram | Numeric | Integer | 0 | 999 | Grams component of weight measurement in kilograms and grams. Response is whole number. |
Grams in Kilogram | Numeric | Float | 0 | 1000 | Grams component of weight measurement in kilograms and grams. Response contains decimal point. |
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 , glasses, spoons, slices, scoops, bananas, eggs, etc., where the serving size is variable, 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 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. Example |
Millilitres | Numeric | Integer | 0 | Blank | Quantity response measuring size of container, i.e., cup, mug or amount of liquid. 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. Example |
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: 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. Example |
Hours in week | Numeric | Integer | 0 | 168 | How many hours per week event occurred. Example |
Days in month | Numeric | Integer | 0 | 31 | How many days in a month event occurred. Example |
Days in past (last) [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. Example |
Months in past (last) year | Numeric | Integer | 1 | 12 | How many months in a year event occurred. Example |
Floor | Numeric | Integer | Varies | Blank | Question asks lowest level of living accommodation, with the floor to be specified above a certain level. Examples |
Percentage | Numeric | Integer | 0 | 100 | Question asks for a percentage response. 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. 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. Example |
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. See the Duration section of the date and time answers guidance for a detailed discussion of the use of duration versus numeric answers. Examples of time period responses that are entered as a duration answer may be found here. Examples of time period responses that are entered as a numeric answer may be found here.
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 (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 as a specifically labelled answer (Example).