The function will fetch the results of a asynchronous job and will download all files stated in the links. The parameter 'folder' is the target location on the local computer.

download_results(job, folder, con = NULL)

Arguments

job

job object or the job_id for which the results are fetched. Also the return value of list_results() or its 'assets' field is also accepted.

folder

a character string that is the target path on the local computer

con

a connected and authenticated openEO connection (optional) otherwise active_connection() is used.

Value

a list of the target file paths or NULL if 'job' was incorrect