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
- Enter countryIds, regionAssignments, unassignedToken. Keep parallel arrays aligned. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- 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 field | Meaning and units | Accepted input |
|---|---|---|
| countryIds | Country Ids | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| regionAssignments | Region Assignments | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| unassignedToken | Unassigned Token | Required. Text; maximum UTF-16 length 8192. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| unassignedIds | Unassigned Ids | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| assignedCount | Assigned Count | Required. Safe integer. |
{
"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
Similar or alternative tools
- World Region Unassigned Share
Subtract duplicates for assignedUnique, then derive unassigned count and its share of total.
- Country Coverage Denominator Share
Include unknown in the denominator only when requested, divide when positive, otherwise return zero with defined false.