* duplicate of occupation attributes

Questions regarding use of any Version of Family Historian. Please ensure you have set your Version of Family Historian in your Profile. If your question fits in one of these subject-specific sub-forums, please ask it there.
Post Reply
avatar
fugu68
Gold
Posts: 28
Joined: 26 Oct 2018 02:21
Family Historian: V6.2
Location: United Kingdom

duplicate of occupation attributes

Post by fugu68 » 30 Jul 2019 12:11

I'm trying to tidy up some duplication of occupation attributes, and wonder if there is a quick way to generate a list of all individuals with multiple instances of the same occupation? I thought Mike Tate's 'duplicate facts' plugin might do it, but doesn't seem to - unless I am not using it correctly.

Any help would be appreciated.
Andrew Slater: researching Slater and Lewis.

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

Re: duplicate of occupation attributes

Post by tatewise » 30 Jul 2019 13:44

Unfortunately, there are many interpretations of 'duplicate fact'.
Must everything be identical as that Plugin needs, e.g. Date, Place, Address, Source, etc...?
Or just the Label and in the case of an Attribute such as Occupation the Value too?

So I have written a Plugin derived from the other that just looks for Occupations with the same Attribute Value.
Attachments
Duplicate Occupations.fh_lua
(1.75 KiB) Downloaded 139 times
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

avatar
fugu68
Gold
Posts: 28
Joined: 26 Oct 2018 02:21
Family Historian: V6.2
Location: United Kingdom

Re: duplicate of occupation attributes

Post by fugu68 » 30 Jul 2019 14:28

Fantastic: does just what I need - thank you, Mike.

I will take the opportunity to study the code and teach myself a bit about writing plugins.
Andrew Slater: researching Slater and Lewis.

Post Reply