* Occupation missing from Census tab

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.
User avatar
tatewise
Megastar
Posts: 27078
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Occupation missing from Census tab

Post by tatewise » 28 Aug 2017 19:27

I have quickly analysed the situation.

Firstly, the Plugin gives no feedback that it has done anything and runs very quickly.
So running it five times has created five duplicated sets of Occupation facts.
(Five pairs for 7 Apr 1861 and 2 Apr 1871 in your screenshot.)

Secondly, it has a bug in recognising your "occupation shown as:" label.
It is actually looking for the label "occupation shown as :" by mistake with a space before the colon, which is not found.
Thus the created Occupation facts have no occupation and the Note has not been removed from Census.

Thirdly, if any Census had a Note regardless of the label, then an Occupation would get created in error.
(This is what is currently happening and explains why the Census Note is copied across to Occupation Note.)

Fourthly, the Address and Age and Note fields should NOT get copied from Census to Occupation.
This is necessary to mimic how AS creates Occupation facts.

Jane, should be able to easily fix those problems.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

avatar
bbottomley
Platinum
Posts: 48
Joined: 23 Aug 2015 19:39
Family Historian: V7

Re: Occupation missing from Census tab

Post by bbottomley » 28 Aug 2017 19:43

Thanks Mike

Yep, repeated tries muddied the waters a tad but thanks for the observations.

BTW, greatly appreciate the work Jane and yourself put in to this site to help the likes of me.

Brian

User avatar
Jane
Site Admin
Posts: 8441
Joined: 01 Nov 2002 15:00
Family Historian: V7
Location: Somerset, England
Contact:

Re: Occupation missing from Census tab

Post by Jane » 29 Aug 2017 07:16

Try this one
Convert Census Note to Fact.fh_lua
(3.88 KiB) Downloaded 188 times
Jane
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."

User avatar
Jane
Site Admin
Posts: 8441
Joined: 01 Nov 2002 15:00
Family Historian: V7
Location: Somerset, England
Contact:

Re: Occupation missing from Census tab

Post by Jane » 29 Aug 2017 10:47

bbottomley wrote:There's over 180 people with an average of 3 census notes each showing "occupation shown as : ******" so it might not be worth your while Jane.
BTW I copied the selection text from the above which is why that part of the plugin was incorrect.
Jane
My Family History : My Photography "Knowledge is knowing that a tomato is a fruit. Wisdom is not putting it in a fruit salad."

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

Re: Occupation missing from Census tab

Post by tatewise » 29 Aug 2017 11:11

Understood, but all the multiple earlier screenshots don't include that space before the colon.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

avatar
bbottomley
Platinum
Posts: 48
Joined: 23 Aug 2015 19:39
Family Historian: V7

Re: Occupation missing from Census tab

Post by bbottomley » 29 Aug 2017 16:25

Jane,I'm not going to be at my PC for a few days so the outcome will have to wait I'm afraid. Will get back asap with the results.

Thanks
Brian

avatar
bbottomley
Platinum
Posts: 48
Joined: 23 Aug 2015 19:39
Family Historian: V7

Re: Occupation missing from Census tab

Post by bbottomley » 03 Sep 2017 20:57

Thanks very much for that Jane, all sorted now.

I even managed to modify the plugin because I'd made another narrative entry that I had forgotten with "occupation recorded as" which obviously didn't get captured on the first run through.

I think that's the limit of my plugin editing skill though!! :lol:

Anyway, many thanks to everyone involved

Brain

Post Reply