Description Usage Arguments Value
Saves the file downloaded in the response object, in the outPath, with filename
1 | .saveAsFile(response, filePath = "", fileName = "", overwrite = FALSE)
|
response |
An http raw response as returned by httr::GET |
filePath |
Path where the file will be saved |
fileName |
Name of the file to save |
overwrite |
If TRUE will overwrite files with the same name |
(numeric) Result code from 0: done, -1: error, -2: fileExists
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.