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.
get_supporting_records(
gedcom,
xrefs,
inc_note = TRUE,
inc_media = TRUE,
inc_sour = TRUE,
inc_repo = TRUE
)
A tidyged object.
The xrefs of records to get supporting records for.
Whether to include Note records.
Whether to include Multimedia records.
Whether to include Source records.
Whether to include Repository records.
A character vector of supporting record xrefs.
get_supporting_records(sample555, "@I1@")
#> [1] "@S1@" "@R1@"
get_supporting_records(sample555, "@F1@")
#> character(0)