create_variable: Creates a variable in a process graph

View source: R/process_graph_building.R

create_variableR Documentation

Creates a variable in a process graph

Description

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

Usage

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


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