Description Usage Arguments Value
download a specific revision of a Google Drive file in a user-specified format, and save it to disk.
1 2 |
token |
a token, generated with |
metadata |
a metadata object retrieved from |
download_type |
the format to download the file in. Available formats for a specific file can be found in the "exportLinks" field of a metadata object. |
destination |
a file path to write the downloaded file to. |
file_id |
the ID of a file - or the full URL for accessing it via your browser. May be provided
in place of |
version |
The version number of a google doc (found in the "id" of version metadata) or a date value that can be coerced to POSIXct. If a date/time is provided, the last version saved prior to that time is returned. |
overwrite |
whether to overwrite any existing file at |
... |
any further arguments to pass to httr's GET. |
TRUE if the file could be downloaded, FALSE or an error otherwise.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.