Description Usage Arguments Value
download a Google Drive file in a specified format and save it to disk.
1 | download_file(metadata, download_type, destination, overwrite = TRUE, ...)
|
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. |
overwrite |
whether to overwrite any existing file at |
... |
any further arguments to pass to httr's GET. |
TRUE if the file could be downloaded, an error otherwise.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.