identify_unused_records: Identify unreferenced records

View source: R/utils.R

identify_unused_recordsR Documentation

Identify unreferenced records

Description

This function identifies records that are not referenced in any other records.

Usage

identify_unused_records(tg)

Arguments

tg

A tidyged object.

Details

You would expect every record to be referenced by another in some way. For example, Individual records should reference Family Group records (and vice-versa), Repository records should be referenced by Source records, and Source records should be cited by other records.

You can use the output of this function with tidyged::remove_records() to remove them, or tidyged::describe_records() to find out more about them.

Value

A vector of xrefs that are not referenced anywhere else in the tidyged object.


jl5000/tidyged.utils documentation built on June 26, 2022, 4:40 p.m.