convert_selected: Interpret selected function from XLS Form

Description Usage Arguments Value Examples

View source: R/xls_code_translation.R

Description

'convert_selected' converts selected(${var}, val) into an equivalent R statement.

Usage

1

Arguments

string

String to be interpreted, should be of the format "selected(${var}, val)"

Value

String value of the format var parsed for use in filtering datasets. Works together with other internal functions to fully intrepet relevant logic strings from XLS Form coding in 'convert_relevant'.

Examples

1
convert_selected("selected(${refugee_origin}, 'hoth')")

caldwellst/kobold documentation built on April 28, 2020, 12:48 a.m.