[EpiData-list] negative integers in epidata entry

epidata-list at lists.umanitoba.ca epidata-list at lists.umanitoba.ca
Tue Jul 14 13:29:05 CDT 2009


Dear Pedro.

I think you can convert the field to ## (instead of a single #). This is 
because the sign "-" requires space when considering the length of a 
field. Otherwise the structure of the datafile would break and no longer 
work.

The other way around should work as well although it seems like a lot of 
work for introducing a negative number.

Kind Regards,
Torsten Bonde Christiansen.

epidata-list at lists.umanitoba.ca wrote:
> Dear EpiData friends,
>
> I have a qes like this
>
> days NUMBER OF DAYS WITHOUT MEDICINE IN THE PERIOD ##
>
> However the ones who filled the CRFs filled this with -1 if there was no
> information about this question.
>
> Now Im testin the entrys to start feeding the datasets and just realize that
> -1 is not a legal integer for field #
>
> I thought that converting this field from # to <A > would work and later in
> the analysis to encode this variable to integer.
>
> WOuld this work? any more elegant workaround?
>
> Best regards,
>
> Abraço forte e que a força esteja com você,
> Pedro Emmanuel
> _______________________________________________
> EpiData-list mailing list
> EpiData-list at lists.umanitoba.ca
> http://lists.umanitoba.ca/mailman/listinfo/epidata-list
>   



More information about the EpiData-list mailing list