Description Usage Arguments Value
upload_file
allows you to upload a locally-stored file to Google Drive, setting title and
description along the way if you so choose.
1 | upload_file(file_path, title = NULL, description = NULL, ...)
|
file_path |
the full path to the file you want to upload |
title |
what to set in the "title" field of the resulting Google Drive file |
description |
what to set in the "description" field. |
... |
further arguments to pass to httr's POST. |
a metadata object referring to the uploaded file, which can be used in subsequent requests. Matches the
output format of file_metadata
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.