knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

Note records allow you to make notes in your file and reference them in multiple places. This is achieved using the add_note() record. Multi-line notes can be achieved using backslash-n.

library(tidyged)

gedcom() |> 
  add_note("This is a random note used for demonstration purposes\nThis is a new line.") |> 
  dplyr::filter(record == "@N1@")

As with other records, various types of user-defined references can be defined (user_reference_numbers).

Next article: Date types >



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