event_span
Measure elapsed time between two events to check plausibility, such as age at marriage or years from census to death.
Instructions
Measure the elapsed time between two events.
The arithmetic behind most plausibility checks: age at marriage, years between a census and a death, how long a widow waited. Doing this by hand from two formatted date strings is where transcription errors hide.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_age | No | Phrase the result as an age rather than an interval. | |
| event1 | Yes | Handle or gramps_id of the first event. | |
| event2 | Yes | Handle or gramps_id of the second event. | |
| precision | No | How many units to include (years, months, days). |