GMD: Create an R Markdown document from a Google Document

Description Usage Arguments Value Examples

Description

Create an R Markdown document from a Google Document

Usage

1
GMD(doc, token)

Arguments

doc

your google documents unique ID or edit URL. The unique ID can be obtained by using the 'doc_tbl()' function and navigating to your document of interest. The edit URL is the Google Doc url you use to edit the document.

token

your google authentication token

Value

creates a '.Rmd' file in your working directory and, if specified, renders the document

Examples

1
2
3
4
5
## Not run: 
edit_url <- "https://docs.google.com/document/d/1RTCQ67mpZTKe9ddllVNCBom5uC2KMFjktKHb1mjWKOM/edit"
GMD(doc = edit_url, token)

## End(Not run)

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