Get Notes from a PowerPoint (usually from Google Slides)

pptx_notes(file)

pptx_slide_text_df(file)

pptx_slide_note_df(file)

unzip_pptx(file)

Arguments

file

Character. Path for PPTX file

Value

Either a character vector or NULL

Examples

ex_file = system.file("extdata", "example.pptx", package = "ariExtra") pptx_notes(ex_file)
#> notesSlide1.xml #> "Sometimes it’s hard for an instructor to take the time to record their lectures. For example, I’m in a coffee shop and it may be loud." #> notesSlide2.xml #> "Here is an example of a plot with really small axes. We plot the x versus the y-variables and a smoother between them."
pptx_slide_note_df(ex_file)
#> file #> 1 /var/folders/1s/wrtqcpxn685_zk570bnx9_rr0000gr/T//RtmptXiJUn/file139274adf9a47/ppt/notesSlides/notesSlide1.xml #> 2 /var/folders/1s/wrtqcpxn685_zk570bnx9_rr0000gr/T//RtmptXiJUn/file139274adf9a47/ppt/notesSlides/notesSlide2.xml #> slide #> 1 1 #> 2 2 #> text #> 1 Sometimes it’s hard for an instructor to take the time to record their lectures. For example, I’m in a coffee shop and it may be loud. #> 2 Here is an example of a plot with really small axes. We plot the x versus the y-variables and a smoother between them. #> index #> 1 1 #> 2 1
pptx_slide_text_df(ex_file)
#> file #> 1 /var/folders/1s/wrtqcpxn685_zk570bnx9_rr0000gr/T//RtmptXiJUn/file139271e09d1b8/ppt/slides/slide1.xml #> 2 /var/folders/1s/wrtqcpxn685_zk570bnx9_rr0000gr/T//RtmptXiJUn/file139271e09d1b8/ppt/slides/slide1.xml #> slide text index #> 1 1 Automated Instructors 1 #> 2 1 2