This function removes an active Individual record from the tidyged object.
remove_indi(gedcom, individual = character(), remove_associations = TRUE)
A tidyged object.
The xref or name of an Individual record to act on if one is not activated (will override active record).
Whether to also remove associations with this individual in other individual records. Defaults to TRUE. You shouldn't really leave dead links to individual records that no longer exist.
An updated tidyged object excluding the selected Individual record.
At a minimum it will also remove references to this individual in Family group records. If remove_associations is TRUE (default) it will remove associations with this individual in other Individual records.