dy10
November 23, 2021, 8:44am
1
Hallo…
I am having issues that syntax not working to export in stata.
I’ve tried kobo2stata syntax using
“$dir/datafile.xlsx”, xlsform("$dir/templete.xlsx") choicelabel(“label::English”) surveylabel(“label::English”) dropnotes usenotsave
Previously the syntax could work fine but now it can’t and there is a warning in stata that the data file (xls) is not found.
For this I make sure the files and directories in the command syntax match.
maybe someone has experienced the same thing and can share with me
Hello.
Could you share the erros message you get on stata?
I have this ad it worked correctly for me
i have done a tutorial KOBO 2 stata - YouTube
1 Like
dy10
November 23, 2021, 9:11am
4
the erroes message
I suspect that I have a non-exclusive numeric value…
please check the “/” sens and ensure yourself it is correctly oriented
2 Likes
i dont this like this.
May be the file name or the file path have a problem
1 Like
dy10
November 23, 2021, 9:29am
7
Oh i see, there is a directory syntax missing
thank you @unfpasrpf
1 Like
Kal_Lam
November 23, 2021, 3:51pm
9