* Updating existing FH records with data from CSV

Importing from another genealogy program? This is the place to ask. Questions about Exporting should go in the Exporting sub-forum of the General Usage forum.
User avatar
Mark1834
Megastar
Posts: 2511
Joined: 27 Oct 2017 19:33
Family Historian: V7
Location: South Cheshire, UK

Re: Updating existing FH records with data from CSV

Post by Mark1834 »

Perhaps broaden it to look at the time frames of available facts? This was a quick tweak to an existing script, but agree that the final version should look more systematically at what is available.
Mark Draper
User avatar
tatewise
Megastar
Posts: 28414
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Updating existing FH records with data from CSV

Post by tatewise »

Yes, Normal Time Frame is a good idea, except it would exclude Christening (adult).
Presumably, the fact with the earliest date would take precedence.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
User avatar
AdrianBruce
Megastar
Posts: 2107
Joined: 09 Aug 2003 21:02
Family Historian: V7
Location: South Cheshire
Contact:

Re: Updating existing FH records with data from CSV

Post by AdrianBruce »

tatewise wrote: 05 Sep 2021 15:09 ...
The Death should be derived from Burial and if none then Cremation and lastly Probate.
On the other hand, personally I'd take a Cremation date first then a Burial on the basis that if both are present, then the Burial is likely to be the interment of the ashes, which can be some time after the cremation itself. Years later, in one instance that I have. Happy to leave probate as 3rd choice.
Adrian
avatar
NickiP
Famous
Posts: 194
Joined: 26 Feb 2013 12:36
Family Historian: V7
Location: UK

Re: Updating existing FH records with data from CSV

Post by NickiP »

Ooh I'm glad someone mentioned Cremations and death dates as it had completely slipped my mind. :shock:

Just amended the plugin having found I had about 15 cremations with no death date so they now have death dates in the export. :)
User avatar
tatewise
Megastar
Posts: 28414
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Updating existing FH records with data from CSV

Post by tatewise »

Adrian, if the strategy uses the earliest fact with a Normal Time Frame of Post-Death that should give the best Death year.
That would not only cater for Burial, Cremation & Probate but any other custom Post-Death fact, whichever is earliest and of course requires a Date.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
User avatar
AdrianBruce
Megastar
Posts: 2107
Joined: 09 Aug 2003 21:02
Family Historian: V7
Location: South Cheshire
Contact:

Re: Updating existing FH records with data from CSV

Post by AdrianBruce »

tatewise wrote: 05 Sep 2021 20:29 Adrian, if the strategy uses the earliest fact with a Normal Time Frame of Post-Death that should give the best Death year. ...
Sounds good to me.
Adrian
User avatar
Mark1834
Megastar
Posts: 2511
Joined: 27 Oct 2017 19:33
Family Historian: V7
Location: South Cheshire, UK

Re: Updating existing FH records with data from CSV

Post by Mark1834 »

Yes, exactly how I end up doing it will depend on the scope of the listed data. If it is just defined fields (CREM, BURI, PROB), finding the earliest of those is probably simplest. If it is more general, it will need to be the earliest post-death event.
Mark Draper
User avatar
tatewise
Megastar
Posts: 28414
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Updating existing FH records with data from CSV

Post by tatewise »

Mark, if the plugin loops through all facts then the first one it finds with both Normal Time Frame = Post-Death and a Date is the one to use to synthesise a Death event. Similarly, the first fact with both Normal Time Frame = Shortly After Birth and a Date is the one to use to synthesise a Birth event. That avoids any special cases with specific code.
If the user has restricted the set of facts, then looping through all facts imposes little overhead.
I find that using the same script for all cases avoids unexpected glitches.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
User avatar
tatewise
Megastar
Posts: 28414
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Updating existing FH records with data from CSV

Post by tatewise »

I have moved this thread to the Importing and Exporting forum that seems more appropriate.

The Export Gedcom File plugin new features (19799) thread has a prototype plugin ZIP file supporting the synthesis of missing Birth/Death events feature needed for products offering DNA analysis and requiring those two events.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
Post Reply