Closed bellma-lilly closed 1 year ago
I am having a problem where empty items in my data are being filtered out, even when <empty fields> is selected. This appears to be caused in filter-data.R, line 475:
<empty fields>
if ("<empty field>" %in% values) values[which(values == "<empty field>")] <- ""
Because the value is <empty field> rather than <empty field> I can make things work as expected with:
<empty field>
<empty field>
emptyField = as.character(as.tags("<empty field>")) if(emptyField %in% values) values[which(values == emptyField)] <- ""
But I suspect the "right" thing to do is make sure value is <empty field> instead. But I'm not sure how to do that.
Thanks for reporting this, <empty field> was interpreted like HTML tag and escaped. That's fixed if you re-install from GitHub, soon on CRAN.
Victor
I am having a problem where empty items in my data are being filtered out, even when
<empty fields>
is selected. This appears to be caused in filter-data.R, line 475:Because the value is
<empty field>
rather than<empty field>
I can make things work as expected with:But I suspect the "right" thing to do is make sure value is
<empty field>
instead. But I'm not sure how to do that.