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

View source: R/user_defined_processes.R

create_user_processR 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


openeo documentation built on Nov. 17, 2022, 5:07 p.m.