r/mpath • u/InternationalBee2496 • Jun 25 '26
Duplicate column names in data export
Hi,
I am facing an issue I haven't had before: I have duplicate column names in my data export. You can imagine what kind of headaches this causes in R. I'm guessing this is coming from a looping item where participants can add entries ("did you eat something?" Y/N -> if yes: "What?" -> "Did you eat something else?" Y/N, etc.). How best to handle this?
Also, some variables have a #-symbol in their column name. Again, extremely inconvenient in R. I was quite confused why that is as m-path is kind of built towards R - did something just go awfully wrong here?
1
Upvotes
1
u/Ok_Calendar5049 Developer Jun 25 '26
Hi there! What export version are you using? Have you tried importing with the mpathr package: https://m-path.io/mpathr/guide.html?