Internal helper that translates ARS data-subset metadata into a filter expression suitable for inclusion in generated R code. Handles comparator translation, type coercion, and workbook-specific formatting differences.
.generate_data_subset_condition(variable, comparator, value, file_ext)Character string representing the filter expression to apply.
Variable name used in the subset definition.
Comparison operator from the metadata.
Value(s) associated with the comparator.
Extension of the source ARS file, used to normalise parsing.