Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Linking observations from a repeat in another repeat
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Oliver  
View profile  
 More options Jun 19 2012, 12:48 pm
From: Oliver <hehf.heidelb...@googlemail.com>
Date: Tue, 19 Jun 2012 09:48:24 -0700 (PDT)
Local: Tues, Jun 19 2012 12:48 pm
Subject: 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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
W. Brunette  
View profile  
 More options Jun 19 2012, 2:40 pm
From: "W. Brunette" <wbrune...@gmail.com>
Date: Tue, 19 Jun 2012 11:40:14 -0700
Local: Tues, Jun 19 2012 2:40 pm
Subject: Re: [ODK Community] Linking observations from a repeat in 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.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ゴー・ニコライ  
View profile  
 More options Jun 20 2012, 5:00 am
From: ゴー・ニコライ <nikolai...@gmail.com>
Date: Wed, 20 Jun 2012 17:00:40 +0800
Local: Wed, Jun 20 2012 5:00 am
Subject: Re: [ODK Community] Linking observations from a repeat in another repeat

Interesting. How is this done in xlsform?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Oliver  
View profile  
 More options Jun 20 2012, 5:41 am
From: Oliver <hehf.heidelb...@googlemail.com>
Date: Wed, 20 Jun 2012 02:41:43 -0700 (PDT)
Local: Wed, Jun 20 2012 5:41 am
Subject: Re: [ODK Community] Linking observations from a repeat in another repeat

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?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christopher Robert  
View profile  
 More options Jun 20 2012, 5:54 am
From: Christopher Robert <chrislrob...@gmail.com>
Date: Wed, 20 Jun 2012 11:54:45 +0200
Local: Wed, Jun 20 2012 5:54 am
Subject: Re: [ODK Community] Linking observations from a repeat in another repeat

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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ゴー・ニコライ  
View profile   Translate to Translated (View Original)
 More options Jul 7 2012, 7:41 am
From: ゴー・ニコライ <nikolai...@gmail.com>
Date: Sat, 7 Jul 2012 19:41:18 +0800
Local: Sat, Jul 7 2012 7:41 am
Subject: Re: [ODK Community] Linking observations from a repeat in 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

What is the suffix
end_repeat

Best,
Nik


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ゴー・ニコライ  
View profile   Translate to Translated (View Original)
 More options Jul 7 2012, 8:27 am
From: ゴー・ニコライ <nikolai...@gmail.com>
Date: Sat, 7 Jul 2012 20:27:02 +0800
Local: Sat, Jul 7 2012 8:27 am
Subject: Re: [ODK Community] Linking observations from a repeat in 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

What is the suffix
end_repeat

Best,
Nik


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »