gs_to_drive_pngs: Convert Google Slides to PNGs and Upload to Drive folder

Description Usage Arguments Value Examples

View source: R/gs_to_drive_pngs.R

Description

Convert Google Slides to PNGs and Upload to Drive folder

Usage

1
2
3
4
5
6
gs_to_drive_pngs(
  id,
  folder_name = "leanpub_pngs",
  verbose = TRUE,
  overwrite = TRUE
)

Arguments

id

ID or URL to Google slides presentation.

folder_name

folder to upload to on Google Drive. If no folder exists, then one will be created. Also a 'dribble' can be passed

verbose

print diagnostic messages, higher numbers give more output

overwrite

Overwrite the PNGs if they exist, passed to drive_upload

Value

A list of results

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
url = paste0("https://docs.google.com/presentation/d/",
"1ywZbtFacZK0UIsnt2g-sheC9du_rw_7XZ1FX4rRt27M",
"/export/png?",
"id=1ywZbtFacZK0UIsnt2g-sheC9du_rw_7XZ1FX4rRt27M&pageid=g325fd519ca_0_5")

out = gs_to_drive_pngs(url)

## End(Not run)

muschellij2/didactr documentation built on March 17, 2021, 12:45 p.m.