maelstrom-research / Rmonize

3 stars 0 forks source link

harmo_process() error when ID variable name is indicated with backticks in "input_variables" column of harmo rules #64

Open zchenmr opened 1 month ago

zchenmr commented 1 month ago

Rmonize 1.1.0.9000, madshapR v1.1.0.9003

I tried running harmo_process on a dataset that has variables with spaces in the names (ex: "Participant ID"). In the "input_variables" column of the harmo rules, when the value is just "Participant ID" (no backticks), the harmonization process runs without errors. However, if I add backticks ("`Participant ID`"), the harmonization process still runs but I get an error at the end. Having backticks for other variables (ex: "`Patient Age`") is fine, there's only an issue when the ID variable name is written with backticks in the harmo rules.

image image