processEventLine | R Documentation |
Extracts event details (e.g., date, place, cause, latitude, longitude) from a block of GEDCOM lines. For "birth": expect DATE on line i+1, PLAC on i+2, LATI on i+4, LONG on i+5. For "death": expect DATE on line i+1, PLAC on i+2, CAUS on i+3, LATI on i+4, LONG on i+5.
processEventLine(event, block, i, record, pattern_rows)
event |
A character string indicating the event type ("birth" or "death"). |
block |
A character vector of GEDCOM lines. |
i |
The current line index where the event tag is found. |
record |
A named list representing the individual's record. |
pattern_rows |
A list with counts of GEDCOM tag occurrences. |
The updated record with parsed event information.#
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.