-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First variable of dataset not defined in form: SurveyCTO repeat group .csv files that start with *_count field #17
Comments
Hi Matthew, I'm getting this same error when using formhub data. However, if I use the solution you provide, the following bit of code gives me an error:
The error is:
after it has successfully saved the file. Any idea on how I could overcome this? |
Curious. I don't see any use of |
E-mailed @hofmanpaul:
It's nice that formhub offers its own data processing, for instance, splitting |
Hi Matthew, I'm getting a similar error when running odkmeta, but I can't find the text you said should be replaced in the odkmeta dofile. Is there another way to correct this problem? See error message below. Thank you!
|
@amandarudin, it's a similar error in that |
Thanks so much Matthew, I have emailed IPA research support. Have a great weekend, Amanda On Sat, Dec 19, 2015 at 12:08 PM, Matthew White [email protected]
Amanda Dahlstrand Rudin |
Curious if a resolution to this issue has been identified. TIA. |
Hi @liz-thomas! This GitHub issue has to do with the "invalid syntax" error message that the following command issues in specific situations:
However, another command earlier in the do-file can issue the same error message:
While the first case is something we still want to fix, generally the second case means that the data does not conform to the ODK Briefcase export CSV format, which We've started directing |
The
odkmeta
do-file assumes that the first field of all repeat group.csv
files is described in the XLSForm and is givenchar
metadata by the do-file. However, SurveyCTO repeat group.csv
files may start with a*_count
field, to which the do-file does not attach metadata. This may result in the following uninformative error message:To remedy this, replace the following lines:
with:
The text was updated successfully, but these errors were encountered: