create_user_process {openeo}R Documentation

Stores a graph as user defined process on the back-end

Description

Uploads the process graph information to the back-end and stores it. This can be used as a user defined process.

Usage

create_user_process(
  graph,
  id = NULL,
  summary = NULL,
  description = NULL,
  submit = TRUE,
  con = NULL,
  ...
)

Arguments

graph

a process graph definition

id

the title of the user process

summary

the summary for the user process (optional)

description

the description for the user process (optional)

submit

whether to create a new user process at the openEO service or to create it for local use (default set to submit = TRUE)

con

connected and authorized openEO client object (optional) otherwise active_connection() is used.

...

additional parameters passed to jsonlite::toJSON() (like 'digits')

Details

The parameter submit will be deprecated in the future. Please use as(obj, "Process"). This function is useful when copying a JSON representation of your process graph to another software. In that case use udp = as(obj, "Process") and simply print or call object udp on the console.

Value

a list assembling a process graph description or the graph id if send


[Package openeo version 1.3.1 Index]