Skip to content

Main content

Gender Survey Missing Code Tool

Identify a literal missing-response code from an explicit survey code list; no self-description is recoded.

Loading tool…

Description

Return missing when the exact response appears in the supplied missingCodes list.

Identity and survey records can preserve a person's stated wording, display preference, source, and missing-value convention. A formatter should not infer an identity or turn a recorded label into permission for publication.

Return missing when the exact response appears in the supplied missingCodes list.

When to use this tool

Use Gender Survey Missing Code when you need to organize supplied identity-related record fields while preserving their stated scope.

How to use the tool and how it works

  1. Enter response, missingCodes. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read missing. Inspect missing before interpreting the associated values.

Return missing when the exact response appears in the supplied missingCodes list.1

Input fieldMeaning and unitsAccepted input
responseResponseRequired. Text; maximum UTF-16 length 8192.
missingCodesMissing CodesRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
Output fieldInterpretationReturned shape
missingMissingRequired. Boolean.
json
{
  "input": {
    "response": "NA",
    "missingCodes": [
      "NA",
      "not answered"
    ]
  },
  "output": {
    "missing": true
  }
}

Limitations and assumptions

  • An empty string is missing only if listed; no identity category, nonresponse reason, normalization, or imputation is inferred.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.

Alternative or Complementary methods

Confirm preferences, consent, source wording, and the purpose of collection before displaying or combining personal records.

References

  1. Calculation and input contract: gender-studies/gender-survey-missing-code — tool.io

Similar or alternative tools