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


Open-EO/openeo-r-client documentation built on Feb. 21, 2024, 12:20 p.m.