read_pptx: Read data from a Modern PowerPoint File

Description Usage Arguments Details Value Examples

View source: R/read_pptx.R

Description

Read data from a Modern PowerPoint File

Usage

1
read_pptx(pptx)

Arguments

pptx

The .pptx file to read

Details

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.

Value

List containing slide elements.

Examples

1
read_pptx(system.file('extdata','example.pptx',package='readOffice'))

readOffice documentation built on May 29, 2017, 9:10 a.m.