convert_logical_blanks: Interpret logicals involving blanks

Description Usage Arguments Value Examples

View source: R/xls_code_translation.R

Description

'convert_logical_blanks' converts logical statements involving blanks into equivalent R statements using is.na.

Usage

1

Arguments

string

String to be interpreted, should be of the format "convert_logical_blanks(${var} = ”)"

Value

Returns a string value of the format 'is.na(var)' or '!is.na(var)'. Works together with other internal functions to fully intrepet calculate strings from XLS Form coding in 'convert_calculate'.

Examples

1
`convert_logical_blanks("${hh_needs} = ''")`

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