These functions return the xrefs of all records of a particular type in a tidyged object.

xrefs_indi(gedcom)

xrefs_famg(gedcom)

xrefs_subm(gedcom)

xrefs_sour(gedcom)

xrefs_repo(gedcom)

xrefs_note(gedcom)

xrefs_media(gedcom)

Arguments

gedcom

A tidyged object.

Value

A vector of xrefs of records of the relevant type.

Examples

xrefs_indi(sample555)
#> [1] "@I1@" "@I2@" "@I3@"
xrefs_famg(sample555)
#> [1] "@F1@" "@F2@"
xrefs_note(sample555)
#> character(0)
xrefs_repo(sample555)
#> [1] "@R1@"
xrefs_sour(sample555)
#> [1] "@S1@"