Remove data for living individuals in a tidyged object
remove_living(
tg,
max_age = 120,
guess = FALSE,
remove_record = FALSE,
explan_note = "Information on this individual has been redacted",
remove_supp_records = TRUE
)
A tidyged object.
The maximum age to assume for a living person (if a date of birth is given).
Whether to guess the age of individuals if no death event or date of birth is given and possibly retain them, or be cautious and remove them anyway (the default).
Whether to remove the Individual records, or retain them as placeholders.
Text to include in an explanatory note for any redacted records. An empty string will not add a note.
Whether to also remove supporting records (sources, repositories, notes, multimedia) associated with the living individuals. These may contain names and dates so it is probably best to remove them.
A tidyged object cleansed of information on living individuals.