download_results: Downloads the results of a job

View source: R/jobs.R

download_resultsR Documentation

Downloads the results of a job

Description

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.

Usage

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


Open-EO/openeo-r-client documentation built on Feb. 21, 2024, 12:20 p.m.