This function removes a record containing details of a family group.
remove_famg(gedcom, family_xref = character(), remove_individuals = FALSE)
A tidyged object.
The xref of a Family Group record to act on if one is not activated (will override active record).
Whether to also remove the records for all Individuals in the family.
An updated tidyged object excluding the selected Family group record (and potentially the individuals within it).
This function will also automatically remove references to this record in other individual records. If remove_individuals is set to TRUE, it will also remove all records for individuals in this family (including associations).