Skip to content

Main content

Policy Exposure Before After Date Tag

Tag an explicit observation date relative to a supplied policy date under an explicit boundary convention without asserting exposure.

Loading tool…

Description

Label a policy observation as before or after a supplied effective date.

Policy analysis depends on declared eligibility bounds, reference periods, indicator direction and resource denominators. A linear phase-in or household weight is an explicit scenario assumption. A preferred-direction change, age predicate or cost contribution does not establish policy effectiveness, causal impact, actual eligibility or the governing legal rule.

Label a policy observation as before or after a supplied effective date.

When to use this tool

Use Policy Exposure Before After Date Tag when you already have observationDate, suppliedEffectiveDate, includeEffectiveAsAfter and need to label a policy observation as before or after a supplied effective date.

How to use the tool and how it works

  1. Enter observationDate, suppliedEffectiveDate, includeEffectiveAsAfter. 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 periodTag. Use the output convention below.

Parse real UTC dates. after means observation>effective, adding equality only when includeEffectiveAsAfter=true; otherwise before.1

Input fieldMeaning and unitsAccepted input
observationDateObservation DateRequired. Text; maximum UTF-16 length 8192. Real proleptic Gregorian YYYY-MM-DD; four-digit years 0000-9999 accepted.
suppliedEffectiveDateSupplied Effective DateRequired. Text; maximum UTF-16 length 8192. Real proleptic Gregorian YYYY-MM-DD; four-digit years 0000-9999 accepted.
includeEffectiveAsAfterInclude Effective As AfterRequired. Boolean.
Output fieldInterpretationReturned shape
periodTagPeriod TagRequired. Text; maximum UTF-16 length 8192.
json
{
  "input": {
    "observationDate": "2026-11-01",
    "suppliedEffectiveDate": "2026-11-01",
    "includeEffectiveAsAfter": true
  },
  "output": {
    "periodTag": "after"
  }
}

Limitations and assumptions

  • The date and equality rule are supplied; no actual exposure, legal effectiveness or causal treatment assignment is verified.
  • 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 the full eligibility or phase-in rule and its source when evaluating a real policy record. For effectiveness questions, use a study design that addresses the comparator, timing and population; local costs or direction flags alone do not supply that evidence.

References

  1. Calculation and input contract: public-policy/policy-exposure-before-after-date-tag — tool.io

Similar or alternative tools