Skip to content

Main content

Social Contact Tie Frequency Code

Compare a literal contact-frequency response with a supplied codebook and separate missing code.

Loading tool…

Description

Check a social-contact frequency code against allowed codes and a separate missing token.

Aging research distinguishes participant and informant identities, calendar-month coordinates, time-use exposure and event/censoring status. Proxy responses and missing codes carry different meanings from direct observations. Local record summaries do not establish lifespan, legal status, accessibility or appropriate care.

Check a social-contact frequency code against allowed codes and a separate missing token.

When to use this tool

Use Social Contact Tie Frequency Code when checking the stated aging-study record, timing, censoring or support convention.

How to use the tool and how it works

  1. Enter responseCode, allowedCodes, missingCode. 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 recognized, missing. Inspect recognized, missing before interpreting the associated values.

Require missingCode absent from allowedCodes. Return recognized for literal allowed-code membership and missing for equality with the missing token.1

Input fieldMeaning and unitsAccepted input
responseCodeResponse CodeRequired. Text; maximum UTF-16 length 8192.
allowedCodesAllowed CodesRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
missingCodeMissing CodeRequired. Text; maximum UTF-16 length 8192.
Output fieldInterpretationReturned shape
recognizedRecognizedRequired. Boolean.
missingMissingRequired. Boolean.
json
{
  "input": {
    "responseCode": "weekly",
    "allowedCodes": [
      "daily",
      "weekly"
    ],
    "missingCode": "NA"
  },
  "output": {
    "recognized": true,
    "missing": false
  }
}

Limitations and assumptions

  • An unrecognized response need not be missing; no social-contact frequency, validated coding scheme or health interpretation 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

Use verified original records and suitable complete research methods; involve qualified health, accessibility or legal professionals for actual care or rights decisions.

References

  1. Calculation and input contract: gerontology/social-contact-tie-frequency-code — tool.io

Similar or alternative tools