Questions tagged [odk]

Open Data Kit (ODK) tools replace clipboards and paper forms with smartphones and tablets. They are free, open-source, and have been used by tens of thousands of organizations to collect tens of millions of forms.

The Open Data Kit (ODK) community produces free and open-source software for collecting, managing, and using data in resource-constrained environments.

ODK tools replace clipboards and paper forms with smartphones and tablets and have been used by tens of thousands of organizations to collect tens of millions of forms. It is the standard for mobile data collection.

Source: https://opendatakit.org

93 questions
1
vote
1 answer

Separating untidy data in R - ODK cleanup

To tidy part of a dataset I need to separate one column into several. These data takes the form similar to this: set.seed(2133) df <- data.frame(a = paste(sample(1:9, 5, replace=T), sample(c("", "%2", "%3"), 5, replace=T), sample(c("", "%3", "%4"),…
Simon
  • 675
  • 1
  • 6
  • 15
1
vote
1 answer

REGEX: Allow any characters including line break

I want to limit the number of characters allowed in one of the questions in my ODK Xform. The question is about the user's comment so I need the field to accept any number of characters from 0 to 100 including line breaks. Otherwise it must show the…
M Reza Saberi
  • 7,134
  • 9
  • 47
  • 76
1
vote
1 answer

show next prompt based on answering the current prompt in ODK

I am new to ODK and I am trying to create an XForm in ODK and the following is the issue i am stuck in. PROBLEM: The user selects Gravel, Drainage or Unimproved from the first prompt. The next prompt is about the rating for the item selected in the…
M Reza Saberi
  • 7,134
  • 9
  • 47
  • 76
1
vote
0 answers

ODK Dynamic select from database, how to handle empty list

I have an ODK form that is configured to get a list of data from the database and use that list of data for the select. Problem is that I am not able to display an error for when the query from the database returns an empty string, instead, ODK…
timtim
  • 77
  • 11
1
vote
1 answer

Can I pull ODK data into SQL Server Database?

Our back-end is SQL server, and we try to pull all ODK records into our database, so is there a way to do this even through coding, I have no idea even how to start with this thing as I am not expert with ODk things.
1
vote
0 answers

getting the selected item in select1 outside a repeat group

I am having some trouble implementing the relevants. I am suffering with getting the value of the selected item from my multiple select (the multiple select is outside the repeat group, the repeat group is where the implementation of relevant needs…
Learner
  • 41
  • 4
1
vote
1 answer

checking the selected item in select1 inside a repeat group

I've a repeat group that starts with a select1 prompt, other questions that follow in the group is based on the item selected from the select1 (relevants). Every item in the select1 is mandatory and should be asked only once. How can I validate that…
Learner
  • 41
  • 4
1
vote
0 answers

Get data from exteral source into OKS Survey's forms

Is there a way to add external data to the ODK Survey form, like the "pulldata" method in the Collect Forms? I know about queries but this are used to populate a multiple choice prompt with values. I need a tool that will get data either form…
Andrei
  • 65
  • 9
1
vote
2 answers

Decoding JSON in PHP to insert into mySQL

I am writing a php file to get data from ODK Aggregate (a survey management program) into a mySQL server. So far, I am able to get data from ODK into mySQL, but that data is not being decoded correctly. From an initial database that looks like this…
Jason
  • 311
  • 3
  • 5
1
vote
0 answers

Can we connect Finger print reader to android using "Android ODK Sensor Framework"?

I learning ODK with android Application and I know, to store the users information from android mobile to Google App server. you can view details of the users information using the Google fusion table. Open Data Kit (ODK) is a free and open-source…
1
vote
2 answers

Android ODK - How to store images in File server?

I am developing the Data Collection Application using ODK Framework in Android. I just set up the MySQL server in my localhost and data is storing perfectly in MySQL Database. But the images are storing in binary Format. I want to store the images…
Avadhani Y
  • 7,566
  • 19
  • 63
  • 90
1
vote
1 answer

Can I add rich formatting (bold, italics, underline) on XForms labels and hints?

We are developing an XForms-based survey system. The client wants to add rich-formatting to labels and hints. Is this possible? If so, how do you define formatting on the XForm xml? Is there a reference page that I can go to? UPDATE: We're currently…
Pablo Venturino
  • 5,208
  • 5
  • 33
  • 41
0
votes
1 answer

How to Access Photos from ODK Aggregate with a MySQL Database?

We have installed OpenDataKit (ODK) Aggregate and we are using a MySQL Database. I can see the data inside the _PHOTO_BIN, _PHOTO_BN, and PHOTO_REF tables - but how do I read this data and display the image? I see in the _PHOTO_BN table there is a…
Chris
  • 5,485
  • 15
  • 68
  • 130
0
votes
1 answer

ODK OpenDataKit - Dynamically Fill in Select Box Options?

We are starting with OpenDataKit and would like to create a select box / spinner which we can dynamically update without having to generate and upload a new XML file. Is it possible to link a select box to an XML or JSON feed, and use that feed to…
Chris
  • 5,485
  • 15
  • 68
  • 130
0
votes
0 answers

How to show/hide fields in edit or read mode in ODK aggregate

I am working with ODK aggregate and I want to know if it is possible to show or hide fields only if the user has open the form in Edit Mode or Read mode. To explain what I want, I would say that there are two Modes in ODK collect: Edit mode: When…
Ernesto Ruiz
  • 736
  • 9
  • 31