
Last chance! 50% off unlimited learning
Sale ends in
Read in the content from a .pptx file.
read_pptx(
file,
skip = 0,
remove.empty = TRUE,
trim = TRUE,
include.notes = FALSE,
...
)
The path to the .pptx file.
The number of lines to skip.
logical. If TRUE
empty elements in the vector are
removed.
logical. If TRUE
the leading/training white space is
removed.
logical. If TRUE
then slide notes are included.
ignored.
Returns a base::data.frame()
with the slide number
(slide_id
), line number (element_id
), and the text
.
# NOT RUN {
url <- file.path("https://www.oclc.org/content/dam/research/presentations",
"2019/111319-godby-NISO-What-Are-Entities-Matter.pptx")
file <- download(url)
(txt <- read_pptx(file))
pptx_doc <- system.file('docs/Hello_World.pptx', package = "textreadr")
read_pptx(pptx_doc)
read_pptx(pptx_doc, include.notes = TRUE)
# }
Run the code above in your browser using DataLab