Diff two versions of a North Carolina (NC) statute
diff_statuteWord-level diff of a North Carolina (NC) statute section between two versions.
mode="pending" compares the text in force against an enacted-but-not-yet-effective
variant — use this for "what will change on 1 October". mode="observed" compares
versions this database has actually recorded, optionally between two dates.
CANNOT show text from before the ingest's first observation: observed history begins then, so most sections have only one version and return diff: null. For earlier change dates use amendment_history; for pending text use pending_changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | observed | |
| format | No | unified | |
| to_date | No | ||
| citation | Yes | ||
| from_date | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||