identify_section: Identify the rows of subrecords in a tidyged object

View source: R/helpers.R

identify_sectionR Documentation

Identify the rows of subrecords in a tidyged object

Description

Identify the rows of subrecords in a tidyged object

Usage

identify_section(
  gedcom,
  containing_level,
  containing_tags,
  containing_values = character(),
  xrefs = character(),
  first_only = FALSE
)

Arguments

gedcom

A tidyged object.

containing_level

The level of the first line of the subrecord.

containing_tags

The accepted tags of the first line of the subrecord.

containing_values

The accepted values of the first line of the subrecord.

xrefs

The xrefs of records containing the subrecord (default is all records).

first_only

Whether to return only the first match found or to return all matches.

Value

A vector of rows in the tidyged object of the subrecord(s).


jl5000/tidyged.internals documentation built on Aug. 21, 2022, 8:32 p.m.