download_zip: Downloads zipped file of modeling results

View source: R/download_zip.R

download_zipR Documentation

Downloads zipped file of modeling results

Description

This function allows the user to download the forecast_pack's for any model associated to the logged user.

Usage

download_zip(project_id, path, filename, ...)

Arguments

project_id

id of the project to be downloaded which can be founded by using the function list_files..

path

folder in which the downloaded files should be saved.

filename

name of the zipped file.

...

advanced parameters.

Value

API response with information about saved file.

See Also

character(0)

Examples

## 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)

4intelligence/faas4i documentation built on April 14, 2025, 2:09 a.m.