set_doc_properties
From officer v0.3.5
by David Gohel
set document properties
set Word or PowerPoint document properties. These are not visible in the document but are available as metadata of the document.
Usage
set_doc_properties(x, title = NULL, subject = NULL, creator = NULL,
description = NULL, created = NULL)
Arguments
- x
an rdocx or rpptx object
- title, subject, creator, description
text fields
- created
a date object
Note
The "last modified" and "last modified by" fields will be automatically be updated when the file is written.
Examples
# 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()
# }
Community examples
Looks like there are no examples yet.