Description Usage Arguments Value Examples
Render Google Document as html or pdf
1 | render_doc(doc_fun, run_doc = TRUE, output_format = "html_document")
|
doc_fun |
function to pull Google document obtained from 'GMD()' |
run_doc |
logical. If you have already run the document, can be set to 'FALSE'. Default is TRUE. |
output_format |
"html_document" or "pdf_document" |
rendered pdf or html document
1 2 3 4 5 6 | ## Not run:
edit_url <- "https://docs.google.com/document/d/1RTCQ67mpZTKe9ddllVNCBom5uC2KMFjktKHb1mjWKOM/edit"
my_doc <- GMD(doc = edit_url, token)
render_doc(doc_fun = my_doc, output_format = "html_document")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.