Creating tidyged objects

gedcom()

Create a base tidyged object

subm()

Define a Submitter record for a new tidyged object

Adding and removing records

add_indi()

Add an Individual record to a tidyged object

remove_indi()

Remove an Individual record from a tidyged object

add_famg()

Add a Family Group record to a tidyged object

remove_famg()

Remove a Family group record from a tidyged object

add_sour()

Add a Source record to a tidyged object

remove_sour()

Remove a Source record from a tidyged object

add_repo()

Add a Repository record to a tidyged object

remove_repo()

Remove a Repository record from a tidyged object

add_media()

Add a Multimedia record to a tidyged object

remove_media()

Remove a Multimedia record from a tidyged object

add_note()

Add a Note record to a tidyged object

remove_note()

Remove a Note record from a tidyged object

remove_records()

Remove multiple records at once

Automating record creation

add_spouse()

Add a spouse for an individual

add_parents()

Add parent records for an individual

add_siblings()

Create multiple siblings for an Individual

add_children()

Create multiple children for a Family Group

Adding data to and removing data from records

add_indi_association()

Add an association with another individual

add_indi_fact()

Add a fact associated with an individual

add_indi_family_link_as_child()

Add a family link as a child

add_indi_family_link_as_spouse()

Add a family link as a spouse

add_indi_links_to_families()

Add family links as a child or spouse

add_indi_names()

Add a personal name (and components) to an Individual record

add_indi_names_var()

Add a variation of a personal name to an Individual record

remove_indi_name()

Remove a personal name (and components) from an Individual record

remove_indi_name_var()

Remove a variation of a personal name from an Individual record

add_famg_event()

Add a family event to a Family Group record

add_sour_repo_citation()

Add a source repository citation to a Source record

Date objects

date_approximated

Construct a DATE_APPROXIMATED string

date_calendar

Construct a DATE_CALENDAR string

date_current

Return the current date in DATE_EXACT format

date_exact

Construct a DATE_EXACT string

date_period

Construct a DATE_PERIOD string

date_range

Construct a DATE_RANGE string

Other objects

address()

Define an address

place()

Define a place associated with a fact

name_pieces()

Define a personal name's components

source_citation()

Create a citation of a Source record

Finding cross reference identifiers

find_indi_refn() find_indi_name() find_indi_name_all() find_repo_refn() find_repo_name() find_repo_name_all() find_note_refn() find_note_text() find_note_text_all() find_media_refn() find_media_fileref() find_media_fileref_all() find_sour_refn() find_sour_titl() find_sour_titl_all() find_famg_refn()

Helper functions to locate record xrefs

find_xref()

Find an xref of a record given a set of search terms

xrefs_indi() xrefs_famg() xrefs_subm() xrefs_sour() xrefs_repo() xrefs_note() xrefs_media()

Get the xrefs of particular record types

get_ancestors()

Identify all ancestors for an individual

get_descendants()

Identify all descendants for an individual

get_famg_children()

Identify all children in a Family Group

get_famg_partners()

Identify all partners in a Family Group

get_families_as_child()

Identify all families for an individual where they are a child

get_families_as_partner()

Identify all families for an individual where they are a partner

get_indi_children()

Identify all children for an individual

get_indi_cousins()

Identify all cousins for an individual

get_indi_parents()

Identify all parents for an individual

get_indi_partners()

Identify all partners for an individual

get_indi_siblings()

Identify all siblings for an individual

get_supporting_records()

Identify all supporting records for a set of records

get_valid_xref()

Derive a valid cross-reference identifier

Record activation

activate_indi() activate_famg() activate_subm() activate_media() activate_note() activate_sour() activate_repo()

Activate a record

active_record()

Get the active record in a tidyged object

set_active_record()

Flag a record as being active

Summarising tidyged objects

str(<tidyged>)

Get the structure of a tidyged object

summary(<tidyged>)

Get a summary of a tidyged object

num_indi() num_famg() num_subm() num_media() num_note() num_repo() num_sour()

Get the number of records in a tidyged object

Summarising record types

df_indi() df_famg() df_media() df_sour() df_repo() df_note()

Summarise records in a tidyged object

df_indi_facts() df_famg_facts()

Create a table summarising all individual/family facts

Describing specific records

is_famg_birth_child()

Determine whether an individual is a child of a family by birth

is_indi() is_famg() is_subm() is_repo() is_media() is_note() is_sour()

Check whether a given record is a particular type

describe_famg() describe_indi() describe_media() describe_sour() describe_repo() describe_note() describe_subm()

Get a description of a record

describe_records()

Get descriptions for records

Utilities

mutate_tag_namespace()

Add a tag namespace column to a tidyged object

order_famg_children()

Order children in a Family Group record by birth date

primary_indi_name()

Make an Individual name appear first in the Individual record

temporarily_remove_name_slashes()

Temporarily remove forward slashes from surnames

insert_explicit_marr_types()

Insert explicit marriage subrecords for a Family Group record

update_change_date()

Update a record's change date

remove_dates_for_tests()

Remove all creation dates from a tidyged object

Sample data

sample555

A sample GEDCOM file in tidyged format