Skip to content

Main content

World Region Unassigned Country Count Tool

Audit explicit country-to-region assignments without choosing a world-region classification.

Loading tool…

Description

Return IDs whose assignment equals unassignedToken and count all other assignment strings as assigned.

Cross-source records often use different labels, time spans, and support conventions. Exact equality and overlap checks describe the supplied metadata; they do not prove that sources measure the same social or geographic concept.

Return IDs whose assignment equals unassignedToken and count all other assignment strings as assigned.

When to use this tool

Use World Region Unassigned Country Count when you need a literal source comparison or coverage diagnostic.

How to use the tool and how it works

  1. Enter countryIds, regionAssignments, unassignedToken. Keep parallel arrays aligned. 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 unassignedIds, assignedCount. Use the output convention below.

Require aligned countryIds and regionAssignments with unique country IDs. Return IDs whose assignment equals unassignedToken and count all other assignment strings as assigned.1

Input fieldMeaning and unitsAccepted input
countryIdsCountry IdsRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
regionAssignmentsRegion AssignmentsRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
unassignedTokenUnassigned TokenRequired. Text; maximum UTF-16 length 8192.
Output fieldInterpretationReturned shape
unassignedIdsUnassigned IdsRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
assignedCountAssigned CountRequired. Safe integer.
json
{
  "input": {
    "countryIds": [
      "A",
      "B",
      "C"
    ],
    "regionAssignments": [
      "R1",
      "?",
      "R2"
    ],
    "unassignedToken": "?"
  },
  "output": {
    "unassignedIds": [
      "B"
    ],
    "assignedCount": 2
  }
}

Limitations and assumptions

  • Nonmissing strings are not checked against a region vocabulary; recognition, sovereignty, boundaries, or an authoritative regional classification are not 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

Inspect the original source definitions and collection methods. Harmonize conceptual scope and timing before treating matching labels or overlapping records as comparable evidence.

References

  1. Calculation and input contract: global-studies/world-region-unassigned-country-count — tool.io

Similar or alternative tools