Linking observations from a repeat in another repeat

Hi everybody,
for an upcoming survey I'm looking into different CAPI options. So far I
like ODK a lot, but there are still a couple of things I don't see how you
would do them in ODK.

For example in our survey we would be asking the head of household general
information on the household members (household roster), this could be done
in a repeated group. Then we would like to ask the individual members a set
of questions, which could be done in a repeated group too (with a defined
no of repetitions if that is possible). But how would I then link the
observations from one repeat with the ones from the other?

On a somewhat related note, is there a possibility to reference a single
group from a repeat in the parent section or another repeat?

Any help is greatly appreciated!

Oliver

The help page on bindings
(http://opendatakit.org/help/form-design/binding) has a subsection
entitled "Repeat a group N times, where N is an answer to another
prompt in the form" that maybe useful.

··· On Tue, Jun 19, 2012 at 9:48 AM, Oliver wrote: > Hi everybody, > for an upcoming survey I'm looking into different CAPI options. So far I > like ODK a lot, but there are still a couple of things I don't see how you > would do them in ODK. > > For example in our survey we would be asking the head of household general > information on the household members (household roster), this could be done > in a repeated group. Then we would like to ask the individual members a set > of questions, which could be done in a repeated group too (with a defined no > of repetitions if that is possible). But how would I then link the > observations from one repeat with the ones from the other? > > On a somewhat related note, is there a possibility to reference a single > group from a repeat in the parent section or another repeat? > > Any help is greatly appreciated! > > Oliver > > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en

Ah I see, repeat a number of times does work, thank you.

My main concern though is to link observations from one repeat with
observations from an other repeat. Does anyone know how this could be done?

··· On Tuesday, June 19, 2012 8:40:14 PM UTC+2, waylon wrote: > > The help page on bindings > (http://opendatakit.org/help/form-design/binding) has a subsection > entitled "Repeat a group N times, where N is an answer to another > prompt in the form" that maybe useful. > > On Tue, Jun 19, 2012 at 9:48 AM, Oliver wrote: > > Hi everybody, > > for an upcoming survey I'm looking into different CAPI options. So far I > > like ODK a lot, but there are still a couple of things I don't see how > you > > would do them in ODK. > > > > For example in our survey we would be asking the head of household > general > > information on the household members (household roster), this could be > done > > in a repeated group. Then we would like to ask the individual members a > set > > of questions, which could be done in a repeated group too (with a > defined no > > of repetitions if that is possible). But how would I then link the > > observations from one repeat with the ones from the other? > > > > On a somewhat related note, is there a possibility to reference a single > > group from a repeat in the parent section or another repeat? > > > > Any help is greatly appreciated! > > > > Oliver > > > > -- > > Post: opendatakit@googlegroups.com > > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > > Options: http://groups.google.com/group/opendatakit?hl=en >

Interesting. How is this done in xlsform?

··· On Wednesday, June 20, 2012, W. Brunette wrote:

The help page on bindings
(http://opendatakit.org/help/form-design/binding) has a subsection
entitled "Repeat a group N times, where N is an answer to another
prompt in the form" that maybe useful.

On Tue, Jun 19, 2012 at 9:48 AM, Oliver <hehf.heidelberg@googlemail.com<javascript:;>> wrote:

Hi everybody,
for an upcoming survey I'm looking into different CAPI options. So far I
like ODK a lot, but there are still a couple of things I don't see how
you
would do them in ODK.

For example in our survey we would be asking the head of household
general
information on the household members (household roster), this could be
done
in a repeated group. Then we would like to ask the individual members a
set
of questions, which could be done in a repeated group too (with a
defined no
of repetitions if that is possible). But how would I then link the
observations from one repeat with the ones from the other?

On a somewhat related note, is there a possibility to reference a single
group from a repeat in the parent section or another repeat?

Any help is greatly appreciated!

Oliver

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

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

Oliver,

We do everything long-hand in XLSForm, so I'm not sure how it would work
with repeat groups. But let me describe the long-hand method that works for
us in practice...

First we'll ask for the number of members in the HH. Then we'll start
asking for their names. Name1 will show with a relevance "${hhmembers}>0";
name2 will show with relevance "${hhmembers}>1"; etc. Then we'll get to
detailed questions we'll want to ask. Age2, e.g., can have relevance
"${hhmembers}>1" and it can be worded like "Please tell us the age for
${name1}." Alternatively, if we have a series of questions for each HH
member, we'll have a "note prompt" that introduces each set of questions
with something like "Now we're going to ask you a series of questions about
${name1}." With this method our forms are large because we have name1
through name20, we'll have note prompts for each, ages for each, etc. But
name1, age1, gender1, etc. all go together. And for the surveyor it's a
very seamless interview process.

If you'd like to see an example, just email me privately and I'll send you
an example XLSForm for a HH census.

Best,

Chris

··· On Wednesday, June 20, 2012, Oliver wrote:

Ah I see, repeat a number of times does work, thank you.

My main concern though is to link observations from one repeat with
observations from an other repeat. Does anyone know how this could be done?

On Tuesday, June 19, 2012 8:40:14 PM UTC+2, waylon wrote:

The help page on bindings
(http://opendatakit.org/help/**form-design/bindinghttp://opendatakit.org/help/form-design/binding)
has a subsection
entitled "Repeat a group N times, where N is an answer to another
prompt in the form" that maybe useful.

On Tue, Jun 19, 2012 at 9:48 AM, Oliver <hehf.heidelberg@googlemail.**com<javascript:_e({}, 'cvml', 'hehf.heidelberg@googlemail.com');>> wrote:

Hi everybody,
for an upcoming survey I'm looking into different CAPI options. So far
I
like ODK a lot, but there are still a couple of things I don't see how
you
would do them in ODK.

For example in our survey we would be asking the head of household
general
information on the household members (household roster), this could be
done
in a repeated group. Then we would like to ask the individual members a
set
of questions, which could be done in a repeated group too (with a
defined no
of repetitions if that is possible). But how would I then link the
observations from one repeat with the ones from the other?

On a somewhat related note, is there a possibility to reference a
single
group from a repeat in the parent section or another repeat?

Any help is greatly appreciated!

Oliver

--
Post: opendatakit@googlegroups.com <javascript:_e({}, 'cvml',
'opendatakit@googlegroups.com');>
Unsubscribe: opendatakit+unsubscribe@**googlegroups.com<javascript:_e({}, 'cvml', 'opendatakit%2Bunsubscribe@googlegroups.com');>
Options: http://groups.google.com/**group/opendatakit?hl=enhttp://groups.google.com/group/opendatakit?hl=en

--
Post: opendatakit@googlegroups.com <javascript:_e({}, 'cvml',
'opendatakit@googlegroups.com');>
Unsubscribe: opendatakit+unsubscribe@googlegroups.com <javascript:_e({},
'cvml', 'opendatakit%2Bunsubscribe@googlegroups.com');>
Options: http://groups.google.com/group/opendatakit?hl=en

Let me just add this for future reference. In XLSform this is done using a
repeat_count column like so:

 *survey* *
  • type repeat_count name required constraint label
    integer
    hhm_num yes .>=1 How many household members are there?
    begin_repeat ../hhm_num hh_member yes
    HH Members
    text
    lname yes
    What is the last name?
    text
    fname yes
    What is the first name?
    text
    mname

What is the middle name?
select_one NameSuffixes
name_suffix

What is the suffix
end_repeat

Best,
Nik

··· On Wednesday, June 20, 2012, ゴー・ニコライ wrote:

Interesting. How is this done in xlsform?

On Wednesday, June 20, 2012, W. Brunette wrote:

The help page on bindings
(http://opendatakit.org/help/form-design/binding) has a subsection
entitled "Repeat a group N times, where N is an answer to another
prompt in the form" that maybe useful.

On Tue, Jun 19, 2012 at 9:48 AM, Oliver hehf.heidelberg@googlemail.com wrote:

Hi everybody,
for an upcoming survey I'm looking into different CAPI options. So far I
like ODK a lot, but there are still a couple of things I don't see how
you
would do them in ODK.

For example in our survey we would be asking the head of household
general
information on the household members (household roster), this could be
done
in a repeated group. Then we would like to ask the individual members a
set
of questions, which could be done in a repeated group too (with a
defined no
of repetitions if that is possible). But how would I then link the
observations from one repeat with the ones from the other?

On a somewhat related note, is there a possibility to reference a single
group from a repeat in the parent section or another repeat?

Any help is greatly appreciated!

Oliver

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

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

Let me just add this for future reference. In XLSform this is done using a
repeat_count column like so:

 *survey* *
  • type repeat_count name required constraint label
    integer
    hhm_num yes .>=1 How many household members are there?
    begin_repeat ../hhm_num hh_member yes
    HH Members
    text
    lname yes
    What is the last name?
    text
    fname yes
    What is the first name?
    text
    mname

What is the middle name?
select_one NameSuffixes
name_suffix

What is the suffix
end_repeat

Best,
Nik

··· On Wednesday, June 20, 2012, ゴー・ニコライ wrote:

Interesting. How is this done in xlsform?

On Wednesday, June 20, 2012, W. Brunette wrote:

The help page on bindings
(http://opendatakit.org/help/form-design/binding) has a subsection
entitled "Repeat a group N times, where N is an answer to another
prompt in the form" that maybe useful.

On Tue, Jun 19, 2012 at 9:48 AM, Oliver hehf.heidelberg@googlemail.com wrote:

Hi everybody,
for an upcoming survey I'm looking into different CAPI options. So far I
like ODK a lot, but there are still a couple of things I don't see how
you
would do them in ODK.

For example in our survey we would be asking the head of household
general
information on the household members (household roster), this could be
done
in a repeated group. Then we would like to ask the individual members a
set
of questions, which could be done in a repeated group too (with a
defined no
of repetitions if that is possible). But how would I then link the
observations from one repeat with the ones from the other?

On a somewhat related note, is there a possibility to reference a single
group from a repeat in the parent section or another repeat?

Any help is greatly appreciated!

Oliver

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

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