Learn R Programming

geoknife (version 1.6.11)

inputs<-: inputs of webprocess

Description

The webprocess inputs are a list of parameter names and their associated values. These inputs are specific to an individual algorithm used by the webprocess, and are pulled in from the web with defaults. An NA value in an input field means that this parameter will be left out of the web processing request. NULL values are required fields for the post and must be populated. For some values, there are defaults used if NULL (e.g., the mean for 'STATISTIC' is "mean"). Only characters can be used in input fields, but booleans are changed to characters as 'true' and 'false'.

access or set the inputs of a webprocess

Usage

inputs(.Object, ...) <- value

inputs(.Object, ..., value)

# S4 method for webprocess inputs(.Object, ..., value)

# S4 method for xml_document inputs(.Object, ..., value)

# S4 method for webprocess,missing inputs(.Object, ...) <- value

# S4 method for webprocess,character inputs(.Object, ...) <- value

# S4 method for webprocess,list inputs(.Object, ...) <- value

Arguments

.Object

a webprocessing object

...

arguments matching fields in .Object's processInputs slot

value

a field pair for .Object processInputs

Examples

Run this code
if (FALSE) {
wp <- webprocess(DELIMITER = 'TAB')
inputs(wp)

inputs(wp) <- list(DELIMITER = 'COMMA', SUMMARIZE_FEATURE_ATTRIBUTE = 'false')
inputs(wp)
inputs(wp, "DELIMITER")
inputs(wp, "DELIMITER") <- "TAB"
}

Run the code above in your browser using DataLab