* Identify all occurrences of a particular place

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
crumblyhunter
Gold
Posts: 11
Joined: 28 Aug 2014 07:20
Family Historian: V6.2

Identify all occurrences of a particular place

Post by crumblyhunter » 03 Nov 2014 05:55

I'd like to identify all records that refer to a particular place across all events and attributes – e.g. birth, census, residence.

How can I search for and display all occurrences of a particular place in all events and attributes please?

User avatar
DavidNewton
Superstar
Posts: 462
Joined: 25 Mar 2014 11:46
Family Historian: V7

Re: Identify all occurrences of a particular place

Post by DavidNewton » 03 Nov 2014 09:38

Try Tools >Work with Data > Places. Select the place and click Where Used. This will give you a results set.

David

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

Re: Identify all occurrences of a particular place

Post by tatewise » 03 Nov 2014 10:40

I have moved this to General Usage because it does not appear to be a Plugin issue.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

avatar
crumblyhunter
Gold
Posts: 11
Joined: 28 Aug 2014 07:20
Family Historian: V6.2

Re: Identify all occurrences of a particular place

Post by crumblyhunter » 04 Nov 2014 06:49

DavidNewton wrote:Try Tools >Work with Data > Places. Select the place and click Where Used. This will give you a results set.

David
Hi David

Thanks for your suggestion. Although this does works, it doesn't identify every occurrence in all columns – this tool only seems to look in the Part 1 columns. So, looking for a place with this tool will identify every occurrence of that place in the Part 1 column, but not if that place is shown in any of the other columns, hence why I thought that this might be a plug-in query. Any further thoughts please?

User avatar
DavidNewton
Superstar
Posts: 462
Joined: 25 Mar 2014 11:46
Family Historian: V7

Re: Identify all occurrences of a particular place

Post by DavidNewton » 04 Nov 2014 11:06

I'm attaching a custom query which takes as a parameter any string that might appear in a full place name and then returns all the facts where it occurs.
If it is not quite what you want it might provide a basis for constructing your own query.

David
Attachments
Where.fhq
(444 Bytes) Downloaded 158 times

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

Re: Identify all occurrences of a particular place

Post by tatewise » 04 Nov 2014 11:55

I think you'll find that the Tools > Work with Data > Places > Where Used is searching for the entire Place as defined by all the Columns strung together, not just Column 1.

The way some users resolve this is to use Tools > Work with Data > Places to formalise their Place names such that there is no duplication.
i.e.
Have a fixed number of Columns with an assigned meaning for each Column.
e.g. Have 3 Columns assigned Town, County, Country
(You can have more Columns if preferred.)
Then use Edit and Replace with until all synonymous Place names use the same format.

Now when searching for any Place it should only have one format and one row in Tools > Work with Data > Places so Where Used is more useful.

There are many Forum postings discussing formatting Place and Address fields. See glossary:places|> Places and Addresses for more details and a list of all the most relevant Forum postings.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

avatar
crumblyhunter
Gold
Posts: 11
Joined: 28 Aug 2014 07:20
Family Historian: V6.2

Re: Identify all occurrences of a particular place

Post by crumblyhunter » 06 Nov 2014 05:02

DavidNewton wrote:I'm attaching a custom query which takes as a parameter any string that might appear in a full place name and then returns all the facts where it occurs.
If it is not quite what you want it might provide a basis for constructing your own query.

David
Great work David! Your query does exactly what I'd hope to achieve. Thank-you. :D

avatar
crumblyhunter
Gold
Posts: 11
Joined: 28 Aug 2014 07:20
Family Historian: V6.2

Re: Identify all occurrences of a particular place

Post by crumblyhunter » 06 Nov 2014 05:09

tatewise wrote:I think you'll find that the Tools > Work with Data > Places > Where Used is searching for the entire Place as defined by all the Columns strung together, not just Column 1.

The way some users resolve this is to use Tools > Work with Data > Places to formalise their Place names such that there is no duplication.
i.e.
Have a fixed number of Columns with an assigned meaning for each Column.
e.g. Have 3 Columns assigned Town, County, Country
(You can have more Columns if preferred.)
Then use Edit and Replace with until all synonymous Place names use the same format.

Now when searching for any Place it should only have one format and one row in Tools > Work with Data > Places so Where Used is more useful.

There are may Forum postings discussing formatting Place and Address fields. See glossary:places|> Places and Addresses for more details and a list of all the most relevant Forum postings.
Thanks for your suggestion about how Tools > Work with Data > Places can be configured and for the KB link – it does seems to offer a good way to organise place data. Looks like I might have some housekeeping to do. ;)

Post Reply