Skip to content
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

Allow "note" variables with blank "name" #30

Open
internetlindsey opened this issue Jun 29, 2015 · 3 comments
Open

Allow "note" variables with blank "name" #30

internetlindsey opened this issue Jun 29, 2015 · 3 comments

Comments

@internetlindsey
Copy link

xlsform allows a blank "name" for "note" type. odkmeta returns the below error in Stata when it encounters such cases:

invalid name attribute ''
invalid name() suboption
invalid survey() option
r(198);

@jquattro
Copy link

Is there a workaround for this? I went into the survey.csv sheet and created names for the notes. But then when I run the do file that odkmeta creates, I get an error message "variable [name I created for the first note] not found." And none of my variables have labels.

@matthew-white
Copy link
Collaborator

@jquattro giving these notes names will result in an error, because the odkmeta do-file will try to attach metadata to these nonexistent variables. How about deleting these rows entirely from the survey .csv file?

@jquattro
Copy link

Yes! Deleting the rows worked. On another note: beware 'select multiple'
choices that include negative numbers (e.g. we used -66 for "don't know").
Excel and OpenOffice convert those to dates, which leads to the odkmeta
error "may not convert string."
Thank you for this wonderful time-saving program.

2015-10-19 22:26 GMT-04:00 Matthew White [email protected]:

@jquattro https://github.com/jquattro giving these notes names will
result in an error, because the odkmeta do-file will try to attach
metadata to these nonexistent variables. How about deleting these rows
entirely from the survey .csv file?


Reply to this email directly or view it on GitHub
#30 (comment)
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants