Skip to contents

Uses the Google Docs, Slides, or Sheets URL to export a file locally, read to an officer object. If filename is NULL, exported file is removed after export.

Usage

read_docs_url(url, format = NULL, filename = NULL, path = NULL, quiet = TRUE)

Arguments

url

A URL for a Google Doc, Google Slides presentation, or Google Sheets.

format

File format to use for export URL (typically set automatically). Options are NULL (default), "doc", "pptx", or "xslx". "pdf" and "csv" be supported in the future.

filename

Destination file name. Optional. If filename is NULL, downloaded file is removed as part of the function execution.

path

Folder path. Optional.

quiet

If TRUE, suppress messages when downloading file.

See also