How to find the oldest families
Posted: 06 Mar 2018 16:44
Lets say I have a table of names:
Ames, Annabelle
Zufelt, Richard
they have one thing in common, they have a source @s1944@ which happens to be FindaGrave
now in my PAGE I have http://www.findagrave...........112123 and so on
in my note, I have section plot and all that rot
So, now I have some magic with dates
and my file is:
I1 Ames, Annabell (1870-1899) http://www.findagrave................
I99 Zufelt, Richard (1902-1946) http://www.findagrave.............
(I can build that table stealing from List all citations for a source plugin
Now we are at families
I read all the FAMS and FAMC records
and end up with something like:
bbbbbbbbb FAM 102 Husb I111 FAMC FAMS
bbbbbbbbb FAM 102 Wife I312 FAMC FAMS FAMS FAMS FAMS
bbbbbbbbb FAM 103 Child I776
lets say for this discussion I put all the marriage dates in the blank field
if there is not a marriage date I will take husb birth date and subtract 20 if no husb then wife date, if no wife date then oldest child and subtract 1 year down the line adding -1 to each visit of a child for year subtraction. I realize this will not comprehend ALL the various methods of playing park the cadillac in the garage, but should yield a date for better or worse for every fam "MARR".
So sorting it from oldest to recent, I read that table,
put out:
I99 Ames, Richard (1902-1980) http://www.FaG...
I212 Hendershott, Amelia (1912-1986) http://www.FaG... <first wife
I100 Ames, Andy (1933-1999) http://www.FaG...
I986 Bilabong, Thistle (1936-1966) http://www.FaG ... Sons wife
I999 Ames, Fredrika (1945-1945) sons daughter
I101 Ames, Milburn yadda yadda yadda blah blah blah <Richards 2nd son
and so on.
As I read thru Each Fam, I delete the read from fam gob from each iteration of offspring, wife and child
If a husband or wife is missing, or if the indi record doesnt have a FaG record then it writes a blank line after the indi number in its proper place under the indi in the output table.
when I am done with the original OLD family gob from the oldest to recent table, I delete it
read next family gob and repeat until there are no family gobs to delete.
Then done, output
can anyone help me with the logic and point out my problems here? or have a better way to do this by families?
Ames, Annabelle
Zufelt, Richard
they have one thing in common, they have a source @s1944@ which happens to be FindaGrave
now in my PAGE I have http://www.findagrave...........112123 and so on
in my note, I have section plot and all that rot
So, now I have some magic with dates
and my file is:
I1 Ames, Annabell (1870-1899) http://www.findagrave................
I99 Zufelt, Richard (1902-1946) http://www.findagrave.............
(I can build that table stealing from List all citations for a source plugin
Now we are at families
I read all the FAMS and FAMC records
and end up with something like:
bbbbbbbbb FAM 102 Husb I111 FAMC FAMS
bbbbbbbbb FAM 102 Wife I312 FAMC FAMS FAMS FAMS FAMS
bbbbbbbbb FAM 103 Child I776
lets say for this discussion I put all the marriage dates in the blank field
if there is not a marriage date I will take husb birth date and subtract 20 if no husb then wife date, if no wife date then oldest child and subtract 1 year down the line adding -1 to each visit of a child for year subtraction. I realize this will not comprehend ALL the various methods of playing park the cadillac in the garage, but should yield a date for better or worse for every fam "MARR".
So sorting it from oldest to recent, I read that table,
put out:
I99 Ames, Richard (1902-1980) http://www.FaG...
I212 Hendershott, Amelia (1912-1986) http://www.FaG... <first wife
I100 Ames, Andy (1933-1999) http://www.FaG...
I986 Bilabong, Thistle (1936-1966) http://www.FaG ... Sons wife
I999 Ames, Fredrika (1945-1945) sons daughter
I101 Ames, Milburn yadda yadda yadda blah blah blah <Richards 2nd son
and so on.
As I read thru Each Fam, I delete the read from fam gob from each iteration of offspring, wife and child
If a husband or wife is missing, or if the indi record doesnt have a FaG record then it writes a blank line after the indi number in its proper place under the indi in the output table.
when I am done with the original OLD family gob from the oldest to recent table, I delete it
read next family gob and repeat until there are no family gobs to delete.
Then done, output
can anyone help me with the logic and point out my problems here? or have a better way to do this by families?