Could someone please point me in the right direction step by step information of how to use odkmeta. I am trying to merge the repeat group csv from exported briefcase to the main exported data.
Hi @Azibambo!
odkmeta
creates a do-file that, among other tasks, will merge any repeat groups. To learn more about how to use odkmeta
, download odkmeta
, then type help odkmeta
in Stata to view the help file.
Hi ALL
I usually encountered this type error, much appreciated for any help.
. . * Restore variable labels.
. foreach var of varlist _all {
2. mata: st_varlabel("var'", st_global("
var'[Odk_label]"))
3. }
. }
. else {
. ds PARENT_KEY, not
. foreach var in r(varlist)' { 2. ren
var' `var'1
3. }
.
. drop PARENT_KEY
. gen PARENT_KEY = ""
. }
.
. rename PARENT_KEY KEY
.
. local pos : list posof "stateless-names" in repeats
. local child : word pos' of
childfiles'
invalid syntax
r(198);
end of do-file
r(198);
.