Re: [Gramps] [Help] Addin to verify birth spacing of children
Bill Gee <[email protected]>
| Newsgroups | gmane.comp.genealogy.gramps.user |
|---|---|
| Message-ID | <[email protected]> |
Interesting! It sounds like creating a "SmallChildAgeDiff" plugin might not be as hard as I thought. At least it would not require completely starting from scratch. I am not inclined to work on it myself. My Python skills are rudimentary at best. As you note, though, there are still some other issues to look at. The actual problem age difference is about ten or eleven months. It is not a hard cutoff. Second, it really only works when the two successive children have birth dates resolved to at least the month, and preferrably to the day. Birthdates of "about", "between", "circa", just a year and blank are not useful, and people with dates like that should be ignored. Another potential age problem could be a case where one child is born sometime from about March to October, and another child is born the same year but without either month or day being specified. Those two children are either twins or impossible. I can also see a case where (for example) child A is born in November 1900, child B is born in 1901 (no month or day specified) and child C is born in February of 1902. There is not enough time there for all three children even though it would be possible for either pair (A-B or B-C) to exist. ======== Bill Gee On Saturday, August 20, 2022 10:22:10 AM CDT George Wilmes via The Gramps Project (Discourse Forum & Mailing List) wrote: > > I tried a quick hack for this. It's not a solution, it was just an experiment. > > In /plugins/tool/verify.py, in the class LargeChildrenAgeDiff, I changed this line: > > max(child_birh_dates_diff) / 365 > self.c_space) > > to this: > > min(child_birh_dates_diff) / 365 < 1) > > Then, when running the tool, the families appearing with the warning "Large age differences between children" were actually those with children who were born less than a year apart. (In my tree, those cases turned out to be ok, they were just slightly under a year apart, so the warning should actually be based on months. Or, one might wish to find all families who had children within some other range, for some other purpose, though perhaps that would be better as a filter rule rather than a tool.) > > Unfortunately, it also included many other families, I guess because they had some children lacking birth dates, though I'm not certain that's the reason. > > I don't plan to carry this any further, just providing a lead for anyone else who has the interest to pursue it. > > > > > > --- > [Visit Topic](https://gramps.discourse.group/t/addin-to-verify-birth-spacing-of-children/2706/5) or reply to this email to respond. > > You are receiving this because you enabled mailing list mode. > > Start a new topic in: [Help](mailto:[email protected]) • [Development](mailto:[email protected]) • [Feedback](mailto:[email protected]) > > To unsubscribe from these emails, [click here](https://gramps.discourse.group/email/unsubscribe/b8b345461ade156c6c71da5d4369f3fc264cac35a37a53771240272f053d53f5). > -- Gramps-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gramps-users https://gramps-project.org