This function creates a variable to be used in the designated process graph with additional optional information.

create_variable(
  name,
  description = NULL,
  type = NULL,
  subtype = NULL,
  default = NULL
)

Arguments

name

the name of the variable

description

an optional description of the variable

type

the type of the value that is replaced on runtime, default 'string'

subtype

the subtype of the type (as specified by openEO types)

default

the default value for this variable

Value

a ProcessGraphParameter() object