Get Google Slide PNG URL
gs_png_url(url)
get_slide_page(url)
gs_png_download(url, output_dir = ".", overwrite = TRUE)
include_slide(
url,
output_dir = knitr::opts_chunk$get("fig.path"),
overwrite = TRUE,
...
)
URL to Google Slide
path to output png
should the slide PNG be overwritten?
for include_slide
, options passed to
[knitr::include_graphics()]
A character vector of URLs
url <- paste0(
"https://docs.google.com/presentation/d/",
"12DPZgPteQBwgal6kSPP58zhPhjZ7QSPZLe3NkA8M3eo/edit",
"#slide=id.gc8648f14c3_0_397&t=4"
)
id <- get_slide_id(url)
gs_png_url(url)
#> [1] "https://docs.google.com/presentation/d/12DPZgPteQBwgal6kSPP58zhPhjZ7QSPZLe3NkA8M3eo/export/png?id=12DPZgPteQBwgal6kSPP58zhPhjZ7QSPZLe3NkA8M3eo&pageid=gc8648f14c3_0_397"