Counting instances of a forename amongst the descendants of an individual.
Posted: 17 May 2017 16:49
Hi,
Naming patterns are becoming more and more important in some research I'm doing in the Scottish Highlands.
I'm needing some help in writing an expression which would judge whether a flag exists for an individual, and if it does, then count the frequency of a forename [Torquil] amongst the descendants of that person. If the flag doesn't exist then nothing is returned. For the sake of simplicity, let's say that the name will always appear in the first forename.
I have some idea of how expressions work, but no idea at all of how to count within all the generations after an individual.
Thanks!
Naming patterns are becoming more and more important in some research I'm doing in the Scottish Highlands.
I'm needing some help in writing an expression which would judge whether a flag exists for an individual, and if it does, then count the frequency of a forename [Torquil] amongst the descendants of that person. If the flag doesn't exist then nothing is returned. For the sake of simplicity, let's say that the name will always appear in the first forename.
I have some idea of how expressions work, but no idea at all of how to count within all the generations after an individual.
Thanks!