repeat count for household roster form
repeat count for household roster form
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
For those of us who do not know what the repeat count function in ODK does please explain what you are trying to accomplish?
-
- Posts: 38
- Joined: August 27th, 2017, 2:43 am
Re: repeat count for household roster form
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;
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
What will happen for twins of same sex, education and occupation?
-
- Posts: 38
- Joined: August 27th, 2017, 2:43 am
Re: repeat count for household roster form
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
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
Re: repeat count for household roster form
Can anyone provides me the file for household roster??
-
- Posts: 573
- Joined: July 9th, 2012, 11:32 am
- Location: Islamabad, Pakistan
Re: repeat count for household roster form
Dear Subash
You can see Simple CAPI application in Examples folder.
Just Tab on help >>Example Folder >> 1 - Data Entry >> Simple CAPI
Best.
a.
You can see Simple CAPI application in Examples folder.
Just Tab on help >>Example Folder >> 1 - Data Entry >> Simple CAPI
Best.
a.