* Importing from 'Generations'

Importing from or exporting to another genealogy program. This is the place to ask.
User avatar
tatewise
Megastar
Posts: 21528
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Importing from 'Generations'

Post by tatewise » 28 Apr 2021 14:52

Peter, just fragments of the Generations GEDCOM for the two Notes & Sources will do.

The HEAD record at the top of the Generations GEDCOM would be useful too.

Also, try the attached Plugin Generations - Post Edit that is a variant of the one in Importing to Family Historian.
I have adjusted it to work for your form of SOUR UDF.
On about line 70 the ref '~.TEXT.SOUR' is replaced with '~.SOUR.SOUR'
Maybe some Generations versions produce the invalid NOTE.TEXT.SOUR but this one is producing NOTE.SOUR.SOUR
Attachments
Generations - Post Edit.fh_lua
(2.41 KiB) Downloaded 14 times
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
dichorionic
Gold
Posts: 12
Joined: 03 Jan 2016 17:57
Family Historian: V6.2
Location: Devon

Re: Importing from 'Generations'

Post by dichorionic » 28 Apr 2021 18:09

Thank you, Mike. The adjusted Post Edit plugin worked a treat!

Here is the header:

0 HEAD
1 SOUR EasyTree
2 VERS V8.0
2 CORP Generations
1 DEST EasyTree
1 DATE 23 APR 2021
1 FILE f:\GENERA~1\PEDIGR~3.UDS
1 GEDC
2 VERS 5.5
2 FORM LINEAGE_LINKED
1 CHAR IBM WINDOWS
1 SUBM @U1@
0 @I1@ INDI
1 NAME Elizabeth /IBBS/
1 SEX F

Here's one INDI record:

0 @I76@ INDI
1 NAME Robert Giles /IBBS/
1 SEX M
1 BIRT
2 DATE 15 DEC 1827
2 PLAC Kimbolton
2 SOUR @S33@
3 TEXT Kimbolton BTs
2 SOUR @S1323@
1 DEAT
2 DATE 1884
2 SOUR @S152@
3 TEXT age 58
1 OCCU Tutor 1855, Schoolmaster 1871, 1881, MA
2 SOUR @S194@
2 SOUR @S245@
2 SOUR @S1224@
1 ADDR Fetcham in Surrey until 1862-64, then the Mansion, Leatherhead, Surrey. 1881 at 6 Selborne Place, Littlehampton Sussex
2 SOUR @S102@
2 SOUR @S194@
1 NOTE @N64@
1 FAMC @F38@
1 FAMS @F76@
1 CHAN
2 DATE 22 DEC 2016

followed by its Note record:

0 @N64@ NOTE
1 CONC executor to father. 1854 admitted as pensioner to Queens' College, Cambridge University. MA from London University Subscribed to "The Organ, its History and Construction" in 1855 Declared bankrupt 16/11/1880 and annulled 07/01/1881
2 SOUR @S102@
2 SOUR @S246@
2 SOUR @S194@
2 SOUR @S624@
2 SOUR @S1857@

and the first SOUR record:

0 @S102@ SOUR
1 TYPE Will
1 TITL Will Lewis James snr
1 PLAC Kimbolton
1 YEAR 1872
1 EXEC Frances, wife, Robert Giles, son, Lewis Hawkins Adams, son-in-law
1 LOCA Somerset House
1 MEDI photocopy and WPWin file
1 FILE wills
1 TEXT LEWIS JAMES IBBS of Kimbolton, auctioneer, proved 7/12/1872. Left all to his wife Frances. Executors: wife Frances, son Robert Giles of the Mansion,Leatherhead, Surrey, and son-in-law Lewis Hawkins Adams of Holloway, Middlesex and declared
1 TEXT 30/5/1871, witnesses Charles Sprague, surgeon, William Henry Sprague, Medical Assistant
1 TEXT

Is this sufficient?

User avatar
tatewise
Megastar
Posts: 21528
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Importing from 'Generations'

Post by tatewise » 28 Apr 2021 18:57

Yes, thank you.
I can see several other issues in those fragments that would benefit from correction by a plugin.
That Generations - Post Edit plugin could probably be enhanced to deal with them.
Most of the tags in the Source record are not standard GEDCOM so will appear as UDF.
Even the valid TEXT tag is misused and should use CONC to concatenate lines rather than repeat the TEXT tag, although FH seems to cope with importing them as one Text From Source field. The only other valid tag is TITL.

Do all Generations Source records use that same set of tags, or does it have templates that allow different tags in different Source records?

With that information, I might find time to create such a plugin...
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
dichorionic
Gold
Posts: 12
Joined: 03 Jan 2016 17:57
Family Historian: V6.2
Location: Devon

Re: Importing from 'Generations'

Post by dichorionic » 29 Apr 2021 00:15

I don't pretend to be fluent in the GEDCOM syntax and had not noticed the anomalies, especially the concatenation.
I feel, though, somewhat gratified that my difficulties on previous attempts were related more to the Generations software than my own incompetence and I'm delighted finally to have sought help. Though I clearly have a few weeks work to do to tidy up this file as a FH project and enter all the data since the Generations file was updated, I feel real progress has been made. Having bought vs 4, 5 and then 6, I'm glad I had not yet bought v7.
Here is a collection of examples of some other types of source records.

0 @S1663@ SOUR
1 TYPE Census
1 TITL Census Bassett
1 PLAC Dulverton
1 DATE 1881
1 MEDI jpg
1 LOCA genealogy/data/census/1881
1 FILE 1881 Bassett family

0 @S1664@ SOUR
1 TYPE GRO Index
1 TITL Marr Reg Francis Bassett
1 YEAR Dec 1852
1 DIST Swaffham
1 VOL 4b 1045

0 @S112@ SOUR
1 TITL Apprenticeship of William Hustwait
1 LOCA Huntingdon CRO (604x84)
1 MEDI WPWin file and photocopy
1 FILE gen-misc
1 TEXT Indenture of apprenticeship of William son of Lewis Hurstwaite to Lewis James IBBS, blacksmith, 19 Jul 1823
1 TEXT

0 @S113@ SOUR
1 TITL Kimbolton Association for Prosecuting Felons
1 LOCA Huntingdon CRO DDX 40/75
1 MEDI Photocopy

0 @S114@ SOUR
1 TITL Bastardy bond
1 LOCA Huntingdon CRO
1 MEDI WPWin file
1 FILE gen-misc
1 TEXT Frances Richards, 1 December 1778 - bastardy bond from John Richards, gentleman, of Brampton

0 @S216@ SOUR
1 TYPE Will
1 TITL Will, Rose Ibbs
1 PLAC Thrapston
1 YEAR 1910
1 LOCA Northampton CRO
1 MEDI WPWin file
1 FILE CRO-Nor
1 TEXT Rose IBBS 1910 Vol 53 P 212 widow, Thrapston
1 TEXT Made 09.11.1909 Proved 27.05.1910
1 TEXT
1 TEXT Bequeaths legacies to Arthur Spearey, gardener of Thrapston £10; Bessie Spearey his wife £50. Property to Charles Frederick William, son, Gerald Honneybun, solicitor, executor
1 TEXT

avatar
arthurk
Famous
Posts: 245
Joined: 31 Jan 2015 20:24
Family Historian: V6.2

Re: Importing from 'Generations'

Post by arthurk » 29 Apr 2021 10:51

tatewise wrote:
28 Apr 2021 18:57
Do all Generations Source records use that same set of tags, or does it have templates that allow different tags in different Source records?
This reminds me that when I changed from Generations to Legacy many many years ago, I was able to deal with some of the issues by changing Gedcom tags in Generations before exporting the .ged file.

I can't now remember all the details now, but I've a feeling that with user-defined fact types Generations created a tag consisting of the first 4 letters of the name or label. If these happened to be the same as a standard Gedcom tag, the facts were wrongly assigned when the file was imported to Legacy.

With these facts I was able to edit the tag, and if I gave it a completely fictitious one (eg XZXZ), Legacy then asked me what it should do with it, rather than misassigning it.

I can't remember if anything similar could be done with other tags (not user-defined), and I don't even know if it's relevant to what's being discussed here, but I thought I'd mention it in case there are ways of making changes in Generations before creating the .ged file which would make the process easier.

User avatar
tatewise
Megastar
Posts: 21528
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Importing from 'Generations'

Post by tatewise » 29 Apr 2021 10:59

Thank you arthurk for that information. It is useful to know how Generations assigns custom fact tags.
It does not appear to be relevant here yet, but who knows?
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
dichorionic
Gold
Posts: 12
Joined: 03 Jan 2016 17:57
Family Historian: V6.2
Location: Devon

Re: Importing from 'Generations'

Post by dichorionic » 29 Apr 2021 22:30

Mike,

I'm delighted to say that, after several previous attempts, I took the plunge, imported a pristine file and, after some global replacements and rather more individual edits, produced a gedcom with no more UDFs. There's more work to do to exploit FH's scope, but thank you so much for your help, especially with the customised plugin.
Peter

User avatar
tatewise
Megastar
Posts: 21528
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Importing from 'Generations'

Post by tatewise » 29 Apr 2021 23:22

Peter, it would be really useful to know what you edited to get rid of all UDF.

I think there would need to have been a lot of edits to Source records.

How did you discover all the UDF fields?
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
dichorionic
Gold
Posts: 12
Joined: 03 Jan 2016 17:57
Family Historian: V6.2
Location: Devon

Re: Importing from 'Generations'

Post by dichorionic » 30 Apr 2021 12:04

Hi Mike,

Thanks. I had run your amended Generations Post Edit then ran UDF list and saved that as a text file, then as a spreadsheet. Then did a global conversion of ADDR to RESI with Change Any Fact Tag, checked the result and re-ran UDF list. I repeated the process for MILI to Military Service. After that, it was easier (and more instructive) to go into individual records and change the HEAL, DIV, SEPA and a couple of miscellaneous ones, before deleting the UDF starred bullet. I then re-ran UDF list and got no result.

This morning I had a bit of a flutter after reading your post and checked the sources. At first I couldn't find the Note sources until I realised that I have to open the Note separately. I append screen grabs of one record to show you the result but, at this stage, everything seems to have migrated satisfactorily. I will now spend some weeks in rehab before amending the Occupation and Residence fields into separate items. ;)
Attachments
Eliza Edna FH All.jpg
Eliza Edna FH All.jpg (124.87 KiB) Viewed 306 times
Eliza Edna FH Note All.jpg
Eliza Edna FH Note All.jpg (56.38 KiB) Viewed 306 times

User avatar
tatewise
Megastar
Posts: 21528
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Importing from 'Generations'

Post by tatewise » 30 Apr 2021 15:25

Judging by your Source record examples posted last Thursday, I would have expected them to have plenty of UDF, but you don't mention them.

Please check the All tab of Source records with Record Id 112, 113, 114, etc.
i.e. In the Records Window, on the Sources tab, open those Source records Property Box and check the All tab.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
dichorionic
Gold
Posts: 12
Joined: 03 Jan 2016 17:57
Family Historian: V6.2
Location: Devon

Re: Importing from 'Generations'

Post by dichorionic » 30 Apr 2021 16:39

I attach the All screengrab for Sources 112 and 114, though 113 is equally uncluttered by UDFs.
Source 112.jpg
Source 112.jpg (36.48 KiB) Viewed 286 times
Source 114.jpg
Source 114.jpg (34.86 KiB) Viewed 286 times
As I mentioned before, the bit of Source gedcom from the 22nd was, inadvertently, taken from a slightly earlier iteration of the file. For yesterday's migration I used a pristine copy of the original, complete Generations gedcom when running the Pre-Load Source Clean and proceeding. I have checked that gedcom file and the excerpt shown last Thursday is identical. I gave you a screengrab of that record yesterday and here is the All tab screengrab for the same source. As you see, there are no UDFs.
Robert Giles New Note.jpg
Robert Giles New Note.jpg (65.03 KiB) Viewed 286 times

User avatar
dichorionic
Gold
Posts: 12
Joined: 03 Jan 2016 17:57
Family Historian: V6.2
Location: Devon

Re: Importing from 'Generations'

Post by dichorionic » 30 Apr 2021 16:52

Incidentally, I checked several Exception reports dating back to 2016 and they all produced NOTE.SOUR.SOUR. There were no NOTE.TEXT.SOUR lines at all.

User avatar
tatewise
Megastar
Posts: 21528
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Importing from 'Generations'

Post by tatewise » 30 Apr 2021 21:15

I have just double-checked and discovered that the Generations - Post Edit plugin does more than I realised.
As well as fixing the Note record Source Citations it also moves all UDF into labelled local Note text.

So in your Source record screenshots, notice the Note contains Fields MEDI: and LOCA: etc.
Those are the UDF for MEDI, LOCA, etc, shown in your GEDCOM fragments last Thursday.

Thus if you are happy, you are good to go...
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
dichorionic
Gold
Posts: 12
Joined: 03 Jan 2016 17:57
Family Historian: V6.2
Location: Devon

Re: Importing from 'Generations'

Post by dichorionic » 30 Apr 2021 23:02

Puzzle solved!
Many thanks.

Post Reply