I understand that epiData does not have checkboxes as such. Therefore the boolean fieldtype is suggested. In order to save time when entering data for certain variables, I would like to have epiData automatically write N, if nothing is entered. Otherwise all dummy variables are created as missing, unless I type "0" or "N" in each field. Is there a way to do this automatically?
I already tried MISSINGVALUE N or MISSINGVALUE 0 and AFTER RECORD IF saaadr = . THEN saaadr=0 ENDIF END but unfortunately with no result.
Thanks in advance for any suggestion.
Marius
_________________________________________________________________ News, entertainment and everything you care about at Live.com. Get it now! http://www.live.com/getstarted.aspx
Hi Marius,
you may have 3 types of variables in the qes file:
var1 # var2 _ var3 <Y>
var1 COMMENT LEGAL 1 yes 0 no END AFTER ENTRY IF var1 = . THEN var1=0 ENDIF END END
var2 COMMENT LEGAL 1 yes 0 no END AFTER ENTRY IF var2 = . THEN var2=0 ENDIF END END
var3 AFTER ENTRY IF var3 = . THEN var3=0 ENDIF END END
As you see var3 don't require labels. The principle is the same, when you type "enter" with no value, then the check program replace the missing value by "0".
Hope it works
Vladimir
2008/5/21 <epidata-list@lists.umanitoba.ca mailto:epidata-list@lists.umanitoba.ca>: - Zobrazit citovaný text -
I understand that epiData does not have checkboxes as such. Therefore
the boolean fieldtype is suggested. In order to save time when entering data for certain variables, I would like to have epiData automatically write N, if nothing is entered. Otherwise all dummy variables are created as missing, unless I type "0" or "N" in each field. Is there a way to do this automatically?
I already tried MISSINGVALUE N or MISSINGVALUE 0 and AFTER RECORD IF saaadr = . THEN saaadr=0 ENDIF END but unfortunately with no result.
Thanks in advance for any suggestion.
Marius
___________________________________
News, entertainment and everything you care about at Live.com. Get it
now!
http://www.live.com/getstarted.aspx_________________________________________... http://www.live.com/getstarted.aspx_______________________________________________
EpiData-list mailing list EpiData-list@lists.umanitoba.ca mailto:EpiData-list@lists.umanitoba.ca http://lists.umanitoba.ca/mailman/listinfo/epidata-list
http://lists.umanitoba.ca/mailman/listinfo/epidata-list
-- Vladimir Prikazsky tel: +46 858 601 636 fax: +46 858 601 001 mobil: +46 762 624 286 _____________________________ Motto: :-) Kam chodi slunce, nechodi doktor! An apple a day keeps the doctor away!
participants (1)
-
epidata-list@lists.umanitoba.ca