remove_indi: Remove an Individual record from a tidyged object

View source: R/individual.R

remove_indiR Documentation

Remove an Individual record from a tidyged object

Description

This function removes an active Individual record from the tidyged object.

Usage

remove_indi(gedcom, individual = character(), remove_associations = TRUE)

Arguments

gedcom

A tidyged object.

individual

The xref or name of an Individual record to act on if one is not activated (will override active record).

remove_associations

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.

Details

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.

Value

An updated tidyged object excluding the selected Individual record.


jl5000/tidygedcom documentation built on June 22, 2022, 5:16 p.m.