Description Usage Arguments Details Examples
View source: R/xls_code_translation.R
convert_relevant
converts relevant logic from XLS Form into an R language equivalent.
1 | convert_relevant(string)
|
string |
String to be interpreted, should be of the standard format for relevant logic within XLS Forms. |
Takes in a string of relevant logic from XLS Form and converts all portions of it into a parsed expression that
can be passed to dplyr::filter
for use in filtering data frames.
1 2 | convert_relevant("selected(${employed_by_empire}, 'yes')")
convert_relevant("selected(${employed_by_empire}, 'yes') and count-selected(${livelihoods_coping}) > 3")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.