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

num_indi(gedcom)

num_famg(gedcom)

num_subm(gedcom)

num_media(gedcom)

num_note(gedcom)

num_repo(gedcom)

num_sour(gedcom)

Arguments

gedcom

A tidyged object.

Value

The number of records of the relevant type.

Examples

num_indi(sample555)
#> [1] 3
num_famg(sample555)
#> [1] 2
num_repo(sample555)
#> [1] 1