render_doc: Render Google Document as html or pdf

Description Usage Arguments Value Examples

Description

Render Google Document as html or pdf

Usage

1
render_doc(doc_fun, run_doc = TRUE, output_format = "html_document")

Arguments

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"

Value

rendered pdf or html document

Examples

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)

LucyMcGowan/GMD documentation built on May 7, 2019, 2:01 p.m.