Last chance! 50% off unlimited learning
Sale ends in
set Word or PowerPoint document properties. These are not visible in the document but are available as metadata of the document.
set_doc_properties(x, title = NULL, subject = NULL, creator = NULL,
description = NULL, created = NULL)
a rdocx or rpptx object
text fields
a date object
# NOT RUN {
library(magrittr)
read_docx() %>% set_doc_properties(title = "title",
subject = "document subject", creator = "Me me me",
description = "this document is empty",
created = Sys.time()) %>% doc_properties()
# }
Run the code above in your browser using DataLab