Page 1 of 1

repeat count for household roster form

Posted: August 22nd, 2017, 5:26 am
by subash
Can anyone help me telling, whether it is possible or not to use the repeat count function and administered the same question for all the members in the house from the roster??? Is there any such function available on CSPro or not?? because you can use such function on ODK or XLSform which is quite helpful.

Re: repeat count for household roster form

Posted: August 22nd, 2017, 6:05 am
by josh
For those of us who do not know what the repeat count function in ODK does please explain what you are trying to accomplish?

Re: repeat count for household roster form

Posted: November 16th, 2017, 12:22 am
by pradhanra01
Hi Josh,

As per my understanding you are trying to check repeatation of members detail in roaster; if i m not wrong understanding your requirement; in this case i would suggest curocc() function on roaster,

Lets assume we have Age, Sex, Occ, Edu in household roaster. If all variables matches with one row to another row in roaster while entering data it should show error ? isnt it ?

IF COUNT(HHGRID000 WHERE AGE = AGE(CUROCC()) AND SEX = SEX(CUROCC()) AND OCC = OCC(CUROCC()) AND EDU = EDU(CUROCC())) > 1 THEN; ERRMSG("Duplicate Member");
REENTER;
ENDIF;

Re: repeat count for household roster form

Posted: November 16th, 2017, 1:31 am
by Saint
What will happen for twins of same sex, education and occupation?

Re: repeat count for household roster form

Posted: November 16th, 2017, 11:40 pm
by pradhanra01
Hi Josh,

If there are twins in household; yes it will have problem on duplication check then we have to add one item in roaster either name of member or other flag variable; so that your requirement could pass easily....

Hope it will solve your problem :lol:

Re: repeat count for household roster form

Posted: April 22nd, 2019, 12:37 am
by subash
Can anyone provides me the file for household roster??

Re: repeat count for household roster form

Posted: April 22nd, 2019, 2:09 am
by khurshid.arshad
Dear Subash

You can see Simple CAPI application in Examples folder.

Just Tab on help >>Example Folder >> 1 - Data Entry >> Simple CAPI

Best.
a.