Skip to content
HALOWERK

Calculators and Rule Checks

census region residual audit

Regional population reconciliation aggregates signed and absolute state residuals and reports their largest absolute contributor. Use it when an agent needs a regional decomposition based on official state population estimates.

POST https://rechen.halowerk.com/v1/census-region-residual-audit

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
regionstringYes
yearintegerNo
snapshotSee schemaNo
Show full input schema
{
  "type": "object",
  "properties": {
    "region": {
      "type": "string",
      "minLength": 1,
      "maxLength": 150
    },
    "year": {
      "type": "integer",
      "minimum": 2021,
      "maximum": 2025
    },
    "snapshot": {
      "enum": [
        "census-vintage-2025"
      ]
    }
  },
  "required": [
    "region"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "region": "Northeast",
  "year": 2025,
  "snapshot": "census-vintage-2025"
}

Result & documentation

Show published result schema
{
  "type": "object",
  "required": [
    "measured_at",
    "source",
    "data",
    "limitations"
  ],
  "properties": {
    "measured_at": {
      "type": "string"
    },
    "source": {
      "type": "object",
      "required": [
        "reference",
        "retrieved_at"
      ],
      "properties": {
        "reference": {
          "type": "string"
        },
        "retrieved_at": {
          "type": "string"
        }
      }
    },
    "data": {
      "type": "object",
      "properties": {
        "net_residual": {
          "type": "integer"
        },
        "absolute_sum": {
          "type": "integer"
        },
        "largest_state": {
          "type": "string"
        }
      },
      "required": [
        "net_residual",
        "absolute_sum",
        "largest_state"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub →