Multimedia records are used to define a single multimedia object such as a document or a photo.
library(tidyged)
gedcom() |>
add_media(file_reference = "media/1909_joe_bloggs_birt_cert.jpg",
format = "JPEG", source_media = "electronic",
title = "Joe Bloggs Birth Certificate (1909)") |>
dplyr::filter(record == "@M1@") |>
knitr::kable()
#> Added Multimedia: @M1@
level | record | tag | value |
---|---|---|---|
0 | @M1@ | OBJE | |
1 | @M1@ | FILE | media/1909_joe_bloggs_birt_cert.jpg |
2 | @M1@ | FORM | JPEG |
3 | @M1@ | TYPE | electronic |
2 | @M1@ | TITL | Joe Bloggs Birth Certificate (1909) |
1 | @M1@ | CHAN | |
2 | @M1@ | DATE | 22 NOV 2024 |
As with other records, various types of user-defined references can
be defined (user_reference_numbers
), as well as links to
notes.