Description Usage Arguments Details Value Examples
Read data from a Modern PowerPoint File
1 | read_pptx(pptx, tables = T, drawings = T, diagrams = T)
|
pptx |
The .pptx file to read |
tables |
Should tables be processed from the document? |
drawings |
Should drawings be processed from the document? |
diagrams |
Should diagrams be processed from the document? |
Only accepts one file at a time and only .pptx files. Modifying file extensions will not work.
The returned list contains named lists of the elements on the slide, each element of which is either a data.frame or a matrix containing the text and minor details about the structure on the page.
Data frames will contain the text in addition to the following columns: "Bulleted" indicates if the text is part of a bulleted or numbered list on the slide. "Hierarchy" indicates the tabbed depth of the element in a bulleted or numbered list (NA if not bulleted).
Alternatively, returns a matrix for tables on the slide.
List containing slide elements.
1 2 | read_pptx(system.file('extdata','example.pptx',package='readOffice'))
read_pptx(system.file('extdata','example.pptx',package='readOffice'),diagrams=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.