Learn R Programming

Rsagacmd (version 0.1.2)

create_tool: Generates list of options for a SAGA-GIS tool

Description

Parses the html table for a SAGA-GIS tool into a list of identifiers, options, defaults and constraints

Usage

create_tool(tool_information, tool_options, description)

Arguments

tool_information

list

tool_options

list

character

the description text for the tool that has been scraped from the help documentation

Value

A `saga_tool` object containing: + `tool_name` A syntactically-correct name for the tool. + `tool_cmd` The command to use for saga_cmd to execute tool. + `parameters` A named list of the tool's parameter objects.