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?
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.heidelb...@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?
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.heidelb...@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?
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 <hehf.heidelb...@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?
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.
>> On Tue, Jun 19, 2012 at 9:48 AM, Oliver <hehf.heidelberg@googlemail.**com<javascript:_e({}, 'cvml', 'hehf.heidelb...@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?
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
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.heidelb...@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?
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
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.heidelb...@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?