1. What is the problem? Be very detailed.
- When I used odkmeta to create data for stata from the attachedPNG_Syndromic_Surveillance_Report_2019_survey.csv , the .do file was created without any message of error. however, when i run the .do file, it said
. * forward
. char forward[Odk_name] forward
variable forward not found
- When I used odkmeta to create data for stata from the attachedPNG_Syndromic_Surveillance_Report_2019_surveyold.csv , the .do file was created without any message of error. however, when i run the .do file, it said
. char SETOFcasereportimmediatelycasebr[Odk_name] SET-OF-casereport-immediately-casebriefrepeat
variable SETOFcasereportimmediatelycasebr not found
I run odkmeta example and encountered not problem. but found there is no repeat in the survey form of the example.
So my question is if odkmeta can be used to create data from ODK repeat? if yes, how to fix the problem?
2. What app or server are you using and on what device and operating system? Include version numbers.
I used Ona.oi to store an downloaded ODK dataset and used Stata/SE 15/.0 to run the odkmeta.
3. What you have you tried to fix the problem?
i tried to delete SET-OF- and SETOF in the .do file and run but it did not work.
4. What steps can we take to reproduce the problem?
use the attached file to run to reproduce the first problem
odkmeta using ss.do, csv(PNG_Syndromic_Surveillance_Report_2019_data.csv) survey(PNG_Syndromic_Surveillance_Report_2019_survey.csv) cho(PNG_Syndromic_Surveillance_Report_2019_choices.csv)
use the attached file to run to reproduce the second problem
odkmeta using ssold.do, csv(PNG_Syndromic_Surveillance_Report_2019_data.csv) survey(PNG_Syndromic_Surveillance_Report_2019_surveyold.csv) cho(PNG_Syndromic_Surveillance_Report_2019_choices.csv)
5. Anything else we should know or have? If you have a test form or screenshots or logs, attach below.
I attached the csv file i used.
PNG_Syndromic_Surveillance_Report_2019_choices.csv (561.9 KB) PNG_Syndromic_Surveillance_Report_2019_data.csv (45.2 KB) PNG_Syndromic_Surveillance_Report_2019_survey.csv (5.6 KB)
PNG_Syndromic_Surveillance_Report_2019_surveyold.csv (5.4 KB)