Page 1 of 1
Automatic Linking of Facts to Sources
Posted: 20 Jan 2016 07:39
by andrewbraid
It would be very useful for me if FH automatically linked certain facts, particularly birth, marriage and death, to a specified source. I would use this in all cases where I do not have a copy of the certificate as I always use single sources for events that I have found on the GRO. I do accept that the source would appear for pre-GRO dates and events occurring outside England and Wales, but I am prepared to live with this.
Not only would this speed things up but it would avoid errors. I recently did a check on Facts versus Sources and discovered that I had some births recorded as deaths etc. (the checking was very involved requiring the use of FT Analyzer and spreadsheets).
The inevitable question: can this be done already within FH or is it a wish list item?
I assume that I could achieve the same outcome using AS but I only use that when I have a copy of the certificate.
Re: Automatic Linking of Facts to Sources
Posted: 20 Jan 2016 09:46
by DavidNewton
Jane's plugin
Add a General Record Office Source and optionally Event
would do the job for GRO BMD indexes.
David
Re: Automatic Linking of Facts to Sources
Posted: 20 Jan 2016 11:22
by tatewise
Unfortunately Jane's Plugin only allows one Source for all BMD Events, and not separate Birth, Marriage, and Death Sources.
Not sure why you needed FT Analyzer and spreadsheets, since a fairly simple Fact Query in FH would do the job.
A variant of Jane's Plugin would work, but so should AS.
When you get the Certificate, just run AS again and update the details.
To answer your overall question; no FH itself has no feature to automatically add a pre-specified Source to a new Fact.
It is after-all only a few clicks to do so, and a Fact Query would find any missing/wrong ones so a few clicks could correct them, and a Plugin could automate it all.
Re: Automatic Linking of Facts to Sources
Posted: 21 Jan 2016 15:55
by andrewbraid
Mike
Where am I going wrong?
I have written a Fact Query to find all my GRO Birth sources as follows
Exclude unless =FactLabel(%Fact%) begins with 'GRO Birth'
There are 3,654 Records in the Result Set
When I look at the Source Record GRO Birth in the Sources tab there are 3,681 citations. I have looked at the record links and they are single links
Surely they should be the same.
Re: Automatic Linking of Facts to Sources
Posted: 21 Jan 2016 19:25
by tatewise
That those numbers are in any way similar is I think coincidental.
I am surprised there are any entries in the Result Set (unless there are other Rows filters).
=FactLabel(%FACT%) returns the Label name of the Fact itself, not anything it is linked to.
The Label is defined in Tools > Fact Types in the Edit box associated with each Fact.
So unless you have any Facts whose Label begins with GRO Birth, then that Rows filter would exclude every Fact.
Instead you would need:
Add if %FACT.SOUR[1]>% is 'GRO Birth'
to list those linked to GRO Birth source record via 1st Citation.
That would need to be followed by similar Rows for [2], [3], etc, for 2nd, 3rd, etc, Citations.
There is an existing FHUG Download that does that for any chosen Source record.
See fhugdownloads:contents:more_facts_linked_to_a_source_v4_onwards|> Query:Fact ~ Facts Linked to a Source.
For other Fact Queries see fhugdownloads:queriesfact|> Downloads and Links ~ Query Type: Fact.
Re: Automatic Linking of Facts to Sources
Posted: 22 Jan 2016 08:02
by andrewbraid
Mike
Thank you.
I had not found it in the KnowledgeBase index because I had looked for Fact Query and not Query:Fact. (On the way I did find records where the Where Within Source field was blank so all is not lost.)
I have run the query and I still have a problem. The query says I have 3,679 instances of GRO Birth and the Source Records says there are 3,681 citations. All the links are to individuals and all are single citations. I also have discrepancies with marriages and deaths.
Re: Automatic Linking of Facts to Sources
Posted: 22 Jan 2016 10:32
by tatewise
OK, the Fact Query is only looking at the first 6 Citations on each Fact.
So if the GRO Birth Source is cited by 7th Citation or later it won't find it, but that can easily be rectified.
But the GRO Birth Source might be cited by something else, such as a Name or an Individual or Family record as a whole.
So in the Records Window on the Sources tab select the GRO Birth Source and run the Where Used Record Links Plugin.
In the Result Set click on the Data Ref Where Used column heading to sort them alphabetically and then look for:
INDI.NAME.SOUR
INDI.SOUR
FAM.SOUR
or any that do not start with INDI or FAM,
or any with SOUR[n] where n is greater than 6.
That should identify the missing two Citations.
BTW: I used the KB Search for Fact Query and "Fact Query" and it listed lots of Query:Fact entries, and most usefully the fhugdownloads:queries|> Downloads and Links ~ Queries page that lists them all.
Re: Automatic Linking of Facts to Sources
Posted: 22 Jan 2016 14:44
by andrewbraid
Mike
Thank you very much. That has worked. One source was linked to the name and the other to a whole record.
I am sure others must have the same problem, although they may not be aware of it. Would it be worth adding something to the KB?
I obviously did not look at the KB Index closely enough!
Re: Automatic Linking of Facts to Sources
Posted: 22 Jan 2016 15:16
by tatewise
Do you mean like this one how_to:find_links_to_source|> How do I find out which individuals have links to a particular source?
Re: Automatic Linking of Facts to Sources
Posted: 22 Jan 2016 15:23
by andrewbraid
Mike
Almost. But what I had in mind was more along the lines of 'how to find facts with incorrect sources'
Re: Automatic Linking of Facts to Sources
Posted: 22 Jan 2016 16:58
by tatewise
Please define the rules for "facts with incorrect sources".
Doesn't the KB advice gives the tools needed to identify the links between Facts and Sources and thus which are incorrect?
Perhaps the title of the article just needs tweaking a little to cover all Items linked to all Sources?
Re: Automatic Linking of Facts to Sources
Posted: 23 Jan 2016 07:56
by andrewbraid
Mike
I can think of several examples of facts with incorrect sources from blatant ones such as using my GRO Birth source for a death fact to far more subtle ones, which I accept may not be incorrect for some people, such as using the GRO Birth source as source for a name.
I have approached the whole thing from knowing the source citation figure was incorrect and not from individuals. I agree that the plugin is an easy way to find out where things have gone wrong (certainly much easier than my cumbersome spreadsheet technique) but, in this instance, it only makes sense to use it if you know things have gone wrong. The easy way I found to do this is to use the query More Facts Linked to a Source (v4 onwards) and compare the total for a particular source with the total in the source records window.
Thank you for all your help.