Hi all -
I have an interesting problem to solve. I don't even know what to call it so I've had trouble searching for like solutions. If you have a good search term feel free to let me know, but advice otherwise appreciated.
I have grouped parent/child data, but it's not unique. That is child can have multiple parents and there can be multiple children. The parents can also be children, because they have other parents. Each has a characteristic that I'd like to a) count up, and then b) compare within groups. (this is patent data, if you are wondering)
Here's a simple example (missing = no characteristic)
So, from this, I would like some way to:
a) count up unique members of the family (3) (4)
b) count up unique families (1,2,10), (3,30,40,50)
c) count the characteristics in each family (2 - A) (1 - A, 2 -B)
d) compare characteristics within each family (all same) (2 different)
Is there a script or other way to massage the data to get there? Any thoughts or pointers appreciated.
Regards,
MR
I have an interesting problem to solve. I don't even know what to call it so I've had trouble searching for like solutions. If you have a good search term feel free to let me know, but advice otherwise appreciated.
I have grouped parent/child data, but it's not unique. That is child can have multiple parents and there can be multiple children. The parents can also be children, because they have other parents. Each has a characteristic that I'd like to a) count up, and then b) compare within groups. (this is patent data, if you are wondering)
Here's a simple example (missing = no characteristic)
ChildID | Child Char | ParentID | Parent Char |
1 | A | 10 | A |
2 | 10 | A | |
3 | A | 30 | B |
30 | B | 40 | |
30 | B | 50 | B |
a) count up unique members of the family (3) (4)
b) count up unique families (1,2,10), (3,30,40,50)
c) count the characteristics in each family (2 - A) (1 - A, 2 -B)
d) compare characteristics within each family (all same) (2 different)
Is there a script or other way to massage the data to get there? Any thoughts or pointers appreciated.
Regards,
MR
Comment