Skip to contents

This function exports a google document as plain text. If the download is succesful, the result is stored locally. If not, the function will attempt to load the document from the local file.

Usage

gdocs_export(
  x,
  localFile = NULL,
  format = "md",
  silent = zirconia::opts$get("silent")
)

Arguments

x

A google document URL or identifier.

localFile

The path to the local backup.

silent

Whether to be silent or chatty.

Value

A character vector with the work's text, invisibly.