scidb.Rscript_params: scidb stream functions

Description Usage Arguments Value Author(s)

Description

This function get all script arguments, decodefies them and return a named list.

Usage

1
scidb.Rscript_params(required_params = NULL, err_file = NULL)

Arguments

required_params

A list of pairs param_name="type" containing all required parameters and its respective type. The valid types are "int32", "double", and "string". If any parameter is missing or has a wrong type, an error is throwed and reported. If NULL, no parameter is required (Default NULL).

err_file

A file path where the script can report any errors. If NULL, any error will be reported on stderr only (Default NULL).

Value

Named list with all decoded script arguments

Author(s)

Rolf Simoes, rolf.simoes@inpe.br


rolfsimoes/scidbquery documentation built on May 29, 2019, 8:48 a.m.