compare_versions
Compare a CFR citation's text between two dates and get a diff showing exactly what changed. Use the day before an amendment as the earlier date and the amendment date as the later date to isolate the rule change.
Instructions
Show how a citation's text differs between two dates, as a diff.
Use what_changed first to find amendment dates worth comparing; pass the day before an amendment as date_a and the amendment date as date_b to see exactly what that rule changed. Both dates must be 2017-01-03 or later.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date_a | Yes | Earlier date, YYYY-MM-DD | |
| date_b | No | Later date, YYYY-MM-DD. Omit for the current text. | |
| citation | Yes | A section citation like '40 CFR 261.4', optionally with a paragraph: '40 CFR 261.4(b)' | |
| max_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |