This function creates a tidy table making it easy to extract fact details for an individual or family group.
df_indi_facts(gedcom, xref)
df_famg_facts(gedcom, xref)
A tidyged object.
The xref of the Individual or Family Group record.
A tibble containing a row for each fact.
Notes and source citations are not included in the summary, as well as other more obscure fields.
df_indi_facts(sample555, "@I1@")
#> # A tibble: 4 × 16
#> fact_type description TYPE DATE AGNC CAUS PLAC LATI LONG ADR1 ADR2
#> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr>
#> 1 Birth NA NA 2 OCT 1… NA NA West… NA NA NA NA
#> 2 Death NA NA 14 APR … NA NA Stam… NA NA NA NA
#> 3 Burial NA NA NA NA NA Spri… NA NA NA NA
#> 4 Residence NA NA FROM 19… NA NA NA NA NA NA NA
#> # … with 5 more variables: ADR3 <chr>, CITY <chr>, STAE <chr>, CTRY <chr>,
#> # AGE <chr>
df_famg_facts(sample555, "@F1@")
#> # A tibble: 1 × 17
#> fact_type description TYPE DATE AGNC CAUS PLAC LATI LONG ADR1 ADR2
#> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr>
#> 1 Relationship NA NA DEC … NA NA Rapi… NA NA NA NA
#> # … with 6 more variables: ADR3 <chr>, CITY <chr>, STAE <chr>, CTRY <chr>,
#> # HUSB_AGE <chr>, WIFE_AGE <chr>