Description
Classify responseCode as missing, recognized, or unknown-code by exact equality and membership.
Source-scoped cultural and historical records preserve an edition, naming convention, or local identifier. Literal agreement is useful bookkeeping but does not establish interpretation, authenticity, or authority.
Classify responseCode as missing, recognized, or unknown-code by exact equality and membership.
When to use this tool
Use Cultural Survey Response Code when you need a precise source-token or range consistency check.
How to use the tool and how it works
- Enter responseCode, allowedCodes, missingCode. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read status. Use the output convention below.
Require unique allowedCodes excluding missingCode. Classify responseCode as missing, recognized, or unknown-code by exact equality and membership.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| responseCode | Response Code | Required. Text; maximum UTF-16 length 8192. |
| allowedCodes | Allowed Codes | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| missingCode | Missing Code | Required. Text; maximum UTF-16 length 8192. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| status | Status under the explicitly supplied comparison or record convention. | Required. Text; maximum UTF-16 length 8192. |
{
"input": {
"responseCode": "A",
"allowedCodes": [
"A",
"B"
],
"missingCode": "NA"
},
"output": {
"status": "recognized"
}
} Limitations and assumptions
- Missing is a distinct supplied code, not automatically blank or false; no cultural identity, response meaning, 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
Consult the source edition and relevant community or scholarly guidance before interpreting or reusing the material.
References
Similar or alternative tools
- Gender Survey Missing Code
Return missing when the exact response appears in the supplied missingCodes list.
- Assessment Item Objective Lookup
Return its paired objectiveCode.