parseArgumentString: Argument list parsing utility

View source: R/validation1D.R

parseArgumentStringR Documentation

Argument list parsing utility

Description

Internal helper to produce an argument list and a function call usable by do.call after reading metadata with show.indices or show.measures.

Usage

parseArgumentString(arg.list, code, dates)

Arguments

arg.list

A list of arguments in the form key=value

code

Character string indicating the code of the target index or measure

dates

Optional dates vector (depends of the selected index/measure)

Details

The function is internally used by valueIndex1D and valueMeasure1D

Value

A list with two items: fun, containing the name of the validation function and arg.list, a complete list of arguments in the form key=value.

Author(s)

J Bedia


SantanderMetGroup/VALUE documentation built on July 8, 2023, 7:03 a.m.