I have a large dataframe of network IDs, displaying migration networks. I would like to find out the most frequent network structures. Meaning: Network A: Migrant A sponsors his spouse. The spouse sponsors 2 children. Network B: Migrant X sponsors his uncle. The uncle then sponsors his wife. Network C: Migrant Y sponsors his uncle. The uncle then sponsors one child.
Does somebody have an idea?