get_supporting_records: Identify all supporting records for a set of records

View source: R/identify.R

get_supporting_recordsR Documentation

Identify all supporting records for a set of records

Description

This function gets all supporting records (and onwards dependencies) for a set of records. Supporting records are note, multimedia, source, and repository records, i.e. those providing supporting evidence and comments.

Usage

get_supporting_records(
  gedcom,
  xrefs,
  inc_note = TRUE,
  inc_media = TRUE,
  inc_sour = TRUE,
  inc_repo = TRUE
)

Arguments

gedcom

A tidyged object.

xrefs

The xrefs of records to get supporting records for.

inc_note

Whether to include Note records.

inc_media

Whether to include Multimedia records.

inc_sour

Whether to include Source records.

inc_repo

Whether to include Repository records.

Value

A character vector of supporting record xrefs.

Examples

get_supporting_records(sample555, "@I1@")
get_supporting_records(sample555, "@F1@")

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