compute_result: Executes a job directly and returns the data immediately

Description Usage Arguments Value

View source: R/jobs.R

Description

Executes a job directly on the connected openEO service and returns the data. During the execution phase the connection to the server remains open. The functions and enpoints main purpose is the debugging of code, where results can be immediately checked. Please keep in mind, that computational functions might be related to monetary costs, if no 'free' plan is available. So make sure to keep the data selection relatively small, also some openEO service provider might offer limited processes support, e.g. not supporting UDFs at this endpoint.

Usage

1
2
3
4
5
6
7
compute_result(
  graph,
  output_file = NULL,
  budget = NULL,
  plan = NULL,
  con = NULL
)

Arguments

graph

A Graph, a function returning a ProcessNode as an endpoint or the ProcessNode will return the results

output_file

Where to store the retrieved data under

budget

numeric, how much to spend at maximum on testing

plan

character, selection of a service plan

con

connected and authenticated openeo client (optional) otherwise active_connection is used.

Value

a connection to file if output was provided, the raw data if not


flahn/openeo-r-client documentation built on Sept. 18, 2020, 5:16 a.m.