Skip to contents

Processes a block of GEDCOM lines corresponding to a single individual.

Usage

parseIndividualBlock(
  block,
  pattern_rows,
  all_var_names,
  mappings,
  verbose = FALSE
)

Arguments

block

A character vector containing the GEDCOM lines for one individual.

pattern_rows

A list with counts of lines matching specific GEDCOM tags.

all_var_names

A character vector of variable names.

mappings

A named list of pre-built tag mappings as returned by make_event_fields(), make_name_piece_mappings(), make_attribute_mappings(), and make_relationship_mappings().

verbose

Logical indicating whether to print progress messages.

Value

A named list representing the parsed record for the individual, or NULL if no ID is found.