add_indi: Add an Individual record to a tidyged object

View source: R/individual.R

add_indiR Documentation

Add an Individual record to a tidyged object

Description

Add an Individual record to a tidyged object

Usage

add_indi(
  gedcom,
  sex = "U",
  user_reference_numbers = character(),
  indi_notes = character(),
  multimedia_links = character(),
  qn = character()
)

Arguments

gedcom

A tidyged object.

sex

The sex of the individual. Either "M" (male), "F" (female), "U" (undetermined), "X" (intersex), or "N" (not recorded).

user_reference_numbers

A unique user-defined number or text that the submitter uses to identify this record. You can supply more than one in a vector. You can also define a user reference type by using a named vector (e.g c(id1 = "123A", id2 = "456B")).

indi_notes

A character vector of notes accompanying this Individual record. These could be xrefs to existing Note records.

multimedia_links

A character vector of Multimedia record xrefs accompanying this record.

qn

A shortcut to quickly define a name for this individual. This is a shortcut for the add_indi_names() function (which you should really use instead), but this is useful for quick demonstrations or tests.

Details

If you need to add further information about this individual (e.g. names), use the add_indi_* functions.

Value

An updated tidyged object including the Individual record.


jl5000/tidygedcom documentation built on June 22, 2022, 5:16 p.m.