Repeats in odk

is there a way to count the total number of repeats in a form and return the value?
i am attempting to create a kish grid for a household survey and capturing the information from the repeat has got me stuck.
I would like to capture the name and age of the adult in a repeat and from there select a name based on the total number of adults in the house and my second comparison variable. Is this possible?

Derrick,

I think count(/data/repeatNode) should work to count the number of repeats.

Yaw

··· -- Need ODK services? http://nafundi.com provides form design, server setup, professional support, and software development for ODK.

On Tue, May 20, 2014 at 4:55 AM, derrick.ambitho derrick.omuto@infotrakresearch.com wrote:

is there a way to count the total number of repeats in a form and return the value?
i am attempting to create a kish grid for a household survey and capturing the information from the repeat has got me stuck.
I would like to capture the name and age of the adult in a repeat and from there select a name based on the total number of adults in the house and my second comparison variable. Is this possible?

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups "ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hi Guys,
I wil appreciate if you share to me how do we implemnted the kish grid in
ODK?

··· Le mardi 20 mai 2014 07:55:50 UTC-4, Derrick a écrit : > > is there a way to count the total number of repeats in a form and return > the value? > i am attempting to create a kish grid for a household survey and capturing > the information from the repeat has got me stuck. > I would like to capture the name and age of the adult in a repeat and from > there select a name based on the total number of adults in the house and my > second comparison variable. Is this possible?