download_zip | R Documentation |
This function allows the user to download the forecast_pack
's for any model associated
to the logged user
.
download_zip(project_id, path, filename, ...)
project_id |
id of the project to be downloaded which can be founded by using the function |
path |
folder in which the downloaded files should be saved. |
filename |
name of the zipped file. |
... |
advanced parameters. |
API response with information about saved file.
character(0)
## Not run:
if(interactive()){
## EXAMPLE - Downloading project files from an example
# Note that you will need to have a previously ran project
project_id <- 'User project ID'
folder_path <- 'Folder in which the file will be saved'
filename <- 'Name of the file to be saved'
faas4i::download_zip(project_id = project_id, path=folder_path, filename = filename)
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.