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
- Enter response, missingCodes. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read missing. Inspect missing before interpreting the associated values.
Return missing when the exact response appears in the supplied missingCodes list.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| response | Response | Required. Text; maximum UTF-16 length 8192. |
| missingCodes | Missing Codes | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| missing | Missing | Required. Boolean. |
{
"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
Similar or alternative tools
- Event Indicator Missingness Label
Return missing when observed is false.
- Cultural Survey Response Code
Classify responseCode as missing, recognized, or unknown-code by exact equality and membership.