maelstrom-research / tests-functions-dev

0 stars 0 forks source link

Fonction avant/apres blank input_value (grepl()/str_detect(), etc) #9

Open jlaforme opened 1 day ago

jlaforme commented 1 day ago

When the harmo rule aims to extract or detect a text, the input value in the before/after report is blank.

Ex: Harmo rule: case_when( med1atc1 == "X01" ~ 1L; grepl("^C02|^C03|^C07|^C08|^C09", med1atc1, ignore.case = TRUE) ~ 1L; ELSE ~ 0L)

Input value in the dataset is C02A2 but the input_value in the report is blank.

I think the input_value in the report should be C02A2